[Libreoffice] [PATCH] cppcheck error in sal/osl/unx/profile.c

Harri Pitkänen hatapitk at iki.fi
Thu Oct 7 07:18:32 PDT 2010

This patch closes a file that would be left open if memory allocation fails. 
The cppcheck error was [profile.c:248]: (error) Memory leak: pFile

-------------- next part --------------
A non-text attachment was scrubbed...
Name: close-pFile-on-error.diff
Type: text/x-patch
Size: 347 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101007/5bc668aa/attachment.bin>

More information about the LibreOffice mailing list