Re: [xml] libxml memory leaks



Yan Seiner wrote:
there some special way I need to free these pointers:

I am freeing them in the following order:

xmlFree(xpathCtx);
xmlFree(xpathObj);
xmlFreeDoc(doc);
Sorry!

That's actually

xmlFree(xpathObj);

xmlFree(xpathCtx);

xmlFreeDoc(doc);





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]