Hello, Here's a small patch for shell/source/unix/misc/gnome-open-url.c
Julien. (LGPLv3+ / MPL)
commit 6b768a031280d0c3ad23624dd3a6470c57395a56 Author: serval <ser...@ilapharm.com> Date: Thu Nov 25 23:26:39 2010 +0100 correct cppcheck, Memory leak: fallback diff --git a/shell/source/unix/misc/gnome-open-url.c b/shell/source/unix/misc/gnome-open-url.c index 69cd837..9ee106b 100644 --- a/shell/source/unix/misc/gnome-open-url.c +++ b/shell/source/unix/misc/gnome-open-url.c @@ -139,6 +139,7 @@ int main(int argc, char *argv[] ) args[2] = NULL; return execv(fallback, args); } + free(fallback); return -1; }
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice