plug a memleak

2003-11-01  Manish Singh  <yosh@gimp.org>

        * app/core/gimppalette.c (gimp_palette_load): plug a memleak
This commit is contained in:
Manish Singh 2003-11-01 20:33:27 +00:00 committed by Manish Singh
parent d4a79e90b4
commit 12f91643ab
4 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2003-11-01 Manish Singh <yosh@gimp.org>
* app/core/gimppalette.c (gimp_palette_load): plug a memleak
2003-11-01 Manish Singh <yosh@gimp.org>
* plug-ins/print/print_gimp.h: don't try to define inline, glib

View file

@ -439,6 +439,7 @@ gimp_palette_load (const gchar *filename,
g_strstrip (utf8);
gimp_object_set_name (GIMP_OBJECT (palette), utf8);
g_free (utf8);
if (! fgets (str, 1024, fp))
{

View file

@ -439,6 +439,7 @@ gimp_palette_load (const gchar *filename,
g_strstrip (utf8);
gimp_object_set_name (GIMP_OBJECT (palette), utf8);
g_free (utf8);
if (! fgets (str, 1024, fp))
{

View file

@ -439,6 +439,7 @@ gimp_palette_load (const gchar *filename,
g_strstrip (utf8);
gimp_object_set_name (GIMP_OBJECT (palette), utf8);
g_free (utf8);
if (! fgets (str, 1024, fp))
{