Hi, "Kosaraju Karuna-C9013Z" <[EMAIL PROTECTED]> writes:
> -XMLPlatformUtils::Initialize(); followed by, > > pParser=3DXMLReaderFactory::createXMLReader(); > pParser->setFeature(XMLUni::fgSAX2CoreValidation, false); > pParser->setFeature(XMLUni::fgXercesDynamic, false); > pParser->setFeature(XMLUni::fgXercesSchema, false); > pParser->setFeature(XMLUni::fgXercesSchemaFullChecking,false); > pParser->setContentHandler(this); > pParser->setErrorHandler(this); > > pParser->parse(pXmlFile); > > And in the terminate API call, we do invoke > > XMLPlatformUtils::terminate() > > When we just invoke initialize and terminate, we do see some memory > leaks. Perhaps you should also release the parser somewhere. E.g., add delete pParser; before XMLPlatformUtils::terminate(); hth, -boris -- Boris Kolpackov Code Synthesis Tools CC http://www.codesynthesis.com Open-Source, Cross-Platform C++ XML Data Binding
