mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
libgimp: fix resource leak in gimpimagemetadata-save
This commit is contained in:
parent
8febbf9da8
commit
97a71cfd41
1 changed files with 1 additions and 1 deletions
|
@ -612,7 +612,6 @@ gimp_image_metadata_set_xmp_structs (GList *xmp_list,
|
||||||
G_STRFUNC, second_struct, error->message);
|
G_STRFUNC, second_struct, error->message);
|
||||||
g_clear_error (&error);
|
g_clear_error (&error);
|
||||||
}
|
}
|
||||||
g_free (second_struct);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -623,6 +622,7 @@ gimp_image_metadata_set_xmp_structs (GList *xmp_list,
|
||||||
exclude = g_list_prepend (exclude, g_strdup (tag_split[1]));
|
exclude = g_list_prepend (exclude, g_strdup (tag_split[1]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
g_free (second_struct);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue