Re: [xml] memory management issues
- From: "Andrew W. Nosenko" <andrew w nosenko gmail com>
- To: "Nicholas Aaron Philbrook" <appleshampooid gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] memory management issues
- Date: Tue, 5 Dec 2006 14:22:57 +0200
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>
] [Thread Prev