[Libreoffice] [PATCH] Refactor to make cppcheck happy

Kohei Yoshida kyoshida at novell.com
Wed Sep 29 13:32:16 PDT 2010

On Wed, 2010-09-29 at 21:02 +0100, Michael Meeks wrote:
> > Attached is a small patch that does nothing except eliminate one
> > cppcheck warning.  It is contributed under the LGPL3+.
>         What is the warning ? :-) 

I can give you that info as I was also curious about this:

$ cppcheck soltools/javadep/javadep.c 
Checking soltools/javadep/javadep.c...
[soltools/javadep/javadep.c:606]: (error) Common realloc mistake: "ptr"
nulled but not freed upon failure
Checking soltools/javadep/javadep.c: DEBUG...
Checking soltools/javadep/javadep.c: OS2...
Checking soltools/javadep/javadep.c: WNT...

Kohei Yoshida, LibreOffice hacker, Calc
<kyoshida at novell.com>

More information about the LibreOffice mailing list