You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "ivan (JIRA)" <xa...@xml.apache.org> on 2010/04/12 03:07:40 UTC
[jira] Created: (XALANC-697) Leaks with XalanTransformer and
external functions
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-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org