AW: Re: WG: [xml] memory leak in xmlTextWriter? - Email found in subject - Email found in subject



[...]
  A couple of warnings:
    - first I just fixed in CVS another memory leak in xmlwriter.c
      (the string used for indentation was never freed)
    - also for the people who used testWriter.c from the example
      section should be warned that there was a lot of memory leaks
      in that example code, they are now fixed in the CVS and on-line
      version

Alfred, please check the section about memory management debugging in
libxml2: http://xmlsoft.org/xmlmem.html#Debugging
See how I modified http://xmlsoft.org/examples/testWriter.c to
log memory allocations (in an environment where libxml2 is configured
with memory debugging).

Yes, thank you. I looked at them and I see, that it would have helped
me a lot, if I had known about the memory debugging feature :-).
And there is also a lot of documentation on xmlsoft.org, which waits
for me to read it...

Servus -- Alfred



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