Title: memory leak

Hi,
One memory tool shows some memory leak in Xalan. Looks like it happens here:

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 global map. e.g.    XalanEXSLTCommonFunctionsInstaller::uninstallGlobal() will try to free the functions in XPathEnvSupportDefault::s_externalFunctions. Because XPathEnvSupportDefault::s_externalFunctions is already freed, those functions are not deleted.

I found this issue on UNIX, and debug on NT.

Is this a true memory leak?

Thanks a lot,

Kevin.

Reply via email to