Re: [xml] xmlCleanupParser hangs
- From: Daniel Veillard <veillard redhat com>
- To: Aman Wardak <aman wardak gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] xmlCleanupParser hangs
- Date: Mon, 27 Aug 2012 13:35:24 +0800
On Wed, May 23, 2012 at 12:49:11PM -0700, Aman Wardak wrote:
Hello,
I'm parsing some XML files and using XPath and after going through each
file, I'm cleaning up like this:
if (xpathCtx)
xmlXPathFreeContext(xpathCtx);
if (doc)
xmlFreeDoc(doc);
xmlCleanupParser();
Don't do that, read the doc !
http://xmlsoft.org/html/libxml-parser.html#xmlCleanupParser
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel veillard com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]