mirror of https://github.com/GNOME/gimp.git
app: don't forget to free the layer's new name
This commit is contained in:
parent
0d2de3e7c1
commit
a12af14a59
|
@ -419,6 +419,8 @@ file_open_with_proc_and_display (Gimp *gimp,
|
|||
gimp_item_rename (GIMP_ITEM (layer), basename, NULL);
|
||||
gimp_image_undo_free (image);
|
||||
gimp_image_clean_all (image);
|
||||
|
||||
g_free (basename);
|
||||
}
|
||||
|
||||
gimp_create_display (image->gimp, image, GIMP_UNIT_PIXEL, 1.0);
|
||||
|
|
Loading…
Reference in New Issue