Re: Memory leak problem

Nick Wellnhofer <[email protected]> Wed, 27 Nov 2019 11:18:21 +0100
Newsgroups gmane.comp.gnome.lib.xml.general
Message-ID <[email protected]>
Hi Eric,

I'd use AddressSanitizer to debug this kind of problem. It's built into recent 
clang and gcc versions but probably doesn't support AIX. If you can produce a 
stand-alone test program that exhibits the memory leak, you could debug it 
under Linux, though.

Another option is libxml2's built-in memory debugging:

     http://xmlsoft.org/xmlmem.html

It's rather limited but it might be your only option if you can't use external 
tools.

Nick