Leaks with XalanTransformer and external functions --------------------------------------------------
Key: XALANC-697 URL: https://issues.apache.org/jira/browse/XALANC-697 Project: XalanC Issue Type: Bug Components: XalanC Affects Versions: 1.10 Environment: Win32 MSVC6 Reporter: ivan See XalanTransformer::uninstallExternalFunction cleans up first and second of the m_functionPairs element, while XalanTransformer's destructor only cleans up second. If you don't uninstallExternalFunction and delete the transformer you have a leak. Also, the Apache samples on extension functions http://xml.apache.org/xalan-c/extensions.html present a Function::clone without parameters that does not exist; and if you happen to new ignoring the memory manager then the memory is not claimed by xalan (use the puzzling XalanCopyConstruct and Xalan does claim it). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org For additional commands, e-mail: xalan-dev-h...@xml.apache.org