Re: [xml] memory management issues

On 12/5/06, Nicholas Aaron Philbrook <appleshampooid gmail com> 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 around free().
But it may be overriden by xmlMemSetup() or xmlGcMemSetup().

Andrew W. Nosenko <andrew w nosenko gmail com>

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