Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


On Sun, Oct 24, 2010 at 7:55 AM, julien <serval2412@yahoo.fr> wrote:
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

By the name of it, I would expect these function to do a malloc
without a free. I have not looked at the code, but the name imply
that these function are meant to allocate memory... there is probalby
an xmlFreeLoc function somewhere.

Norbert

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.


_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.