[Libreoffice] Memory leak in ./build/libreoffice-3.2.99.2/libxml2/unxlngi6.pro/misc/build/libxml2-2.7.6/xmlmemory.c

julien serval2412 at yahoo.fr
Sun Oct 24 05:55:26 PDT 2010


Hi,

I keep on with cppcheck and i found 3 functions in the this file with a 
call to "malloc" without call to "free" :

xmlMallocLoc and xmlMallocAtomicLoc and xmlMemStrdupLoc
As it's an external library, i checked on the last dev version and it's the same.
Is it again a false positive ?
as i'm not sure, i reported a bugtrack 633027 on Gnome bugzilla, https://bugzilla.gnome.org/show_bug.cgi?id=633027

Moreover, would it be useful if i add the error report of cppcheck on a new thread or would it just pollute ?
I thought of this because it's very long to run (i've got Athlon 64 2800 with 1GB) and perhaps it could save time for others.

Julien.




More information about the LibreOffice mailing list