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:
parent
d4a79e90b4
commit
12f91643ab
4 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue