Commit c1566ea8 authored by David Odin's avatar David Odin
Browse files

don't leak a file descriptor when reading a bad .vbr file.

* app/core/gimpbrushgenerated.c: don't leak a file descriptor when
  reading a bad .vbr file.
parent 652cd385
2004-08-10 DindinX <david@dindinx.org>
* app/core/gimpbrushgenerated.c: don't leak a file descriptor when
reading a bad .vbr file.
2004-08-10 Sven Neumann <sven@gimp.org>
* plug-ins/common/unsharp.c: don't show progress on the image
......
......@@ -740,6 +740,8 @@ gimp_brush_generated_load (const gchar *filename,
failed:
fclose (file);
if (name)
g_free (name);
......
......@@ -740,6 +740,8 @@ gimp_brush_generated_load (const gchar *filename,
failed:
fclose (file);
if (name)
g_free (name);
......
......@@ -740,6 +740,8 @@ gimp_brush_generated_load (const gchar *filename,
failed:
fclose (file);
if (name)
g_free (name);
......
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