mirror of https://github.com/GNOME/gimp.git
Bug 757772 - Filters->Animation->Blend... leaks GeglBuffers and contexts...
if invoked on a single layer image In gimp_real_exit(), unref all stale images (which do not have a display).
This commit is contained in:
parent
4446954e27
commit
76908b494b
|
@ -793,9 +793,19 @@ static gboolean
|
|||
gimp_real_exit (Gimp *gimp,
|
||||
gboolean force)
|
||||
{
|
||||
GList *image_iter;
|
||||
|
||||
if (gimp->be_verbose)
|
||||
g_print ("EXIT: %s\n", G_STRFUNC);
|
||||
|
||||
/* get rid of images without display */
|
||||
while ((image_iter = gimp_get_image_iter (gimp)))
|
||||
{
|
||||
GimpImage *image = image_iter->data;
|
||||
|
||||
g_object_unref (image);
|
||||
}
|
||||
|
||||
gimp_plug_in_manager_exit (gimp->plug_in_manager);
|
||||
gimp_modules_unload (gimp);
|
||||
|
||||
|
|
Loading…
Reference in New Issue