Re: [xml] memory management issues

2006-12-05 Thread Andrew W. Nosenko
On 12/5/06, Nicholas Aaron Philbrook <[EMAIL PROTECTED]> wrote: > Also, I'm storing the result of xmlNodeGetContent in regular char *, > is it okay to call simple free() on these pointers when cleaning up? > Or does xmlFree do something that free() doesn't? By default, xmllFree() is a wrapper arou

[xml] memory management issues

2006-12-05 Thread Nicholas Aaron Philbrook
I have been looking through the Docs and the API, and I'm not entirely sure if I am adequately freeing all of the memory that libxml is using. valgrind is I am calling xmlParseMemory on a buffer of xml input that I get back from a curl call, and calling xmlDocGetRootElement and looking for variou