You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2010/10/27 17:12:24 UTC
[jira] Resolved: (XERCESC-1949) getWholeText leaks memory
[ https://issues.apache.org/jira/browse/XERCESC-1949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alberto Massari resolved XERCESC-1949.
--------------------------------------
Resolution: Fixed
Fix is in SVN
> getWholeText leaks memory
> -------------------------
>
> Key: XERCESC-1949
> URL: https://issues.apache.org/jira/browse/XERCESC-1949
> Project: Xerces-C++
> Issue Type: Bug
> Affects Versions: 3.0.1, 3.1.0, 3.1.1
> Reporter: Alberto Massari
> Assignee: Alberto Massari
> Fix For: 3.1.2, 3.2.0
>
>
> The getWholeText API allocates memory using the memory manager instead of relying on DOMDocument's pool; so the const XMLCh* returned is either leaked or manually freed by the caller after casting off the const modifier
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org