revert 471bd6df1a and implement reference counting on the xml roots to achieve the same end result

This commit is contained in:
Anthony Minessale committed 2011-03-31 13:44:24 -05:00
1 parent 88c83420bf
commit 4714ed4380
3 files changed
+51 -68

No files matched your search

+2 -1
View File
@@ -795,8 +795,9 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_enum_shutdown)
}
switch_safe_free(globals.root);
switch_safe_free(globals.server);
switch_safe_free(globals.isn_root);
return SWITCH_STATUS_UNLOAD;
}