Re: [xml] libxml memory leak ?



On Fri, Jul 28, 2006 at 02:25:41PM -0400, christophe barbe <cbarbe obj-sys com> wrote:
Hi All,

I was tracking a memory leak and ended up with a very simple libxml
program that leaks according to valgrind (I reproduced it with libxml
2.6.26). 
Could someone, please, have a look at the attached c file and tell me if
I am doing something wrong? If not, I will create a bug report for it.
The valgrind report is also attached.

You want to add a call to xmlCleanupParser() at the end of your
program.

Mike



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