plugged a memory leak.

2004-06-02  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumbnail.c: plugged a memory leak.
This commit is contained in:
Sven Neumann 2004-06-02 17:13:26 +00:00 committed by Sven Neumann
parent b6beebcc00
commit f2f3c448c2
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-06-02 Sven Neumann <sven@gimp.org>
* libgimpthumb/gimpthumbnail.c: plugged a small memory leak.
2004-06-02 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpdnd.h: removed enum GimpDndType...

View File

@ -711,6 +711,7 @@ gimp_thumbnail_reset_info (GimpThumbnail *thumbnail)
g_object_set (thumbnail,
"image-width", 0,
"image-height", 0,
"image-mimetype", NULL,
"image-type", NULL,
"image-num-layers", 0,
NULL);