Commit 12f91643 authored by Manish Singh's avatar Manish Singh Committed by Manish Singh

plug a memleak

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

        * app/core/gimppalette.c (gimp_palette_load): plug a memleak
parent d4a79e90
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))
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment