You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Ryan McCullough (JIRA)" <ax...@ws.apache.org> on 2008/10/01 22:05:44 UTC
[jira] Created: (AXISCPP-1057) Memory Leak in XercesHandler
destructor
Memory Leak in XercesHandler destructor
---------------------------------------
Key: AXISCPP-1057
URL: https://issues.apache.org/jira/browse/AXISCPP-1057
Project: Axis-C++
Issue Type: Bug
Components: XML parser abstraction layer
Environment: Windows XP, VS6 with Compuware BoundsChecker
Reporter: Ryan McCullough
Fix For: current (nightly)
m_NsStack & m_CurrPrefixMappings need to be cleared in the destructor. We propose this change in xml\xerces\XercesHandler.cpp:
XercesHandler::
~XercesHandler()
{
delete m_pNextElement;
delete m_pPrefixMappingElement;
m_NsStack.clear();
m_CurrPrefixMappings.clear();
}
--
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Closed: (AXISCPP-1057) Memory Leak in XercesHandler
destructor
Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/AXISCPP-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nadir amra closed AXISCPP-1057.
-------------------------------
Resolution: Fixed
Thanks for the input. Fixed in SVN revision 700965 (http://svn.apache.org/viewvc?view=rev&revision=700965)
> Memory Leak in XercesHandler destructor
> ---------------------------------------
>
> Key: AXISCPP-1057
> URL: https://issues.apache.org/jira/browse/AXISCPP-1057
> Project: Axis-C++
> Issue Type: Bug
> Components: XML parser abstraction layer
> Environment: Windows XP, VS6 with Compuware BoundsChecker
> Reporter: Ryan McCullough
> Fix For: current (nightly)
>
>
> m_NsStack & m_CurrPrefixMappings need to be cleared in the destructor. We propose this change in xml\xerces\XercesHandler.cpp:
> XercesHandler::
> ~XercesHandler()
> {
> delete m_pNextElement;
> delete m_pPrefixMappingElement;
> m_NsStack.clear();
> m_CurrPrefixMappings.clear();
> }
--
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org