DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22031>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22031 memory leak when terminate Xalan Summary: memory leak when terminate Xalan Product: XalanC Version: 1.5 Platform: All OS/Version: All Status: NEW Severity: Major Priority: Other Component: XalanC AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In XalanTransformer::terminate(), it call "delete s_xsltInit" at first. This will free all those global maps such as XPathEnvSupportDefault::s_externalFunctions. Then it call several uninstallGlobal() function to free other global tables. Some of these tables are stored in the deleted global map. e.g. XalanEXSLTCommonFunctionsInstaller::uninstallGlobal() will try to free the functions in XPathEnvSupportDefault::s_externalFunctions. As XPathEnvSupportDefault::s_externalFunctions is already freed, those functions are not deleted. I found this issue on UNIX, and debug on NT.
