fix a smallish memory leak.

This commit is contained in:
David Odin 2004-07-28 09:45:53 +00:00
parent 613d89dbae
commit 971b131956
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-07-28 DindinX <david.odin@cpe.fr>
* plug-ins/common/spread.c: fix a smallish memory leak.
2004-07-28 Sven Neumann <sven@gimp.org> 2004-07-28 Sven Neumann <sven@gimp.org>
* tools/gimp-mkenums: synced with glib-mkenums (execept for the * tools/gimp-mkenums: synced with glib-mkenums (execept for the

View File

@ -280,6 +280,7 @@ spread (GimpDrawable *drawable)
iter = gimp_rgn_iterator_new (drawable, run_mode); iter = gimp_rgn_iterator_new (drawable, run_mode);
gimp_rgn_iterator_dest (iter, spread_func, &param); gimp_rgn_iterator_dest (iter, spread_func, &param);
gimp_rgn_iterator_free (iter); gimp_rgn_iterator_free (iter);
g_rand_free (param.gr);
} }
static gboolean static gboolean