* Yan Seiner wrote:
>I am using libxml2-2.6.26, cross-compiled for an ARM platform.
>
>I am seeing very severe memory leaks - on the order of 40K per 
>invocation of xmlXPathNewContext (if I read valgrind correctly...)
>
>I've gone through the code, and I am using
>
>xmlFree(xpathCtx);
>
>paired with every invocation of xmlXPathNewContext.

You have to use the proper deallocation routines, xmlXPathFreeContext,
xmlXPathFreeObject, and xmlFreeDoc in your case.
-- 
Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to