mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +00:00
app: forgotten GList freeing.
Thanks to Massimo for the report.
This commit is contained in:
parent
1ece3675c9
commit
9a0876b9bd
1 changed files with 4 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
g_list_free (drawables);
|
||||
return;
|
||||
}
|
||||
|
||||
gimp_image_undo_group_start (image, GIMP_UNDO_GROUP_PAINT,
|
||||
_("Clear"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue