mirror of https://github.com/GNOME/gimp.git
app: metadata undo: unref instead of free
This commit is contained in:
parent
ff1e1bf176
commit
8dc7ff4504
|
@ -520,7 +520,7 @@ gimp_image_undo_free (GimpUndo *undo,
|
|||
|
||||
if (image_undo->metadata)
|
||||
{
|
||||
g_free (image_undo->metadata);
|
||||
g_object_unref (image_undo->metadata);
|
||||
image_undo->metadata = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue