app: metadata undo: unref instead of free

This commit is contained in:
Hartmut Kuhse 2013-11-14 21:45:06 +01:00
parent ff1e1bf176
commit 8dc7ff4504
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ gimp_image_undo_free (GimpUndo *undo,
if (image_undo->metadata) if (image_undo->metadata)
{ {
g_free (image_undo->metadata); g_object_unref (image_undo->metadata);
image_undo->metadata = NULL; image_undo->metadata = NULL;
} }