Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Invalid
-
3.1.1
-
None
-
None
-
Hp Nonstop tandem
Description
Hi,
I wrote simple dom parser and found that the parser is not releases even after a call to release the parser / delete the parser itself. Looks like the memory allocated by the parser was never released until you stop the process.
XMLPlatformUtils::Initialize();
parser = new XercesDOMParser();
errorHandler = (ErrorHandler*) new XmlDomErrorHandler();
parser->setErrorHandler(errorHandler);
parser->parse("xmlfile"); // through analysis the memory set in the parse call was never released until you stop the code
m_doc = parser->getDocument();
for loop to read through all nodes and child
delete errorHandler;
delete parser;
XMLPlatformUtils::Terminate();
looking for a fixed version or a work around,
Thanks