mirror of https://github.com/GNOME/gimp.git
app: forgotten GList freeing.
Thanks to Massimo for the report.
This commit is contained in:
parent
1ece3675c9
commit
9a0876b9bd
|
@ -502,7 +502,10 @@ edit_clear_cmd_callback (GimpAction *action,
|
|||
for (iter = drawables; iter; iter = iter->next)
|
||||
/* Return if any has a locked alpha. */
|
||||
if (! check_drawable_alpha (iter->data, data))
|
||||
return;
|
||||
{
|
||||
g_list_free (drawables);
|
||||
return;
|
||||
}
|
||||
|
||||
gimp_image_undo_group_start (image, GIMP_UNDO_GROUP_PAINT,
|
||||
_("Clear"));
|
||||
|
|
Loading…
Reference in New Issue