mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
gio/glib-compile-resources.c: Unref objects in error path
This commit is contained in:
parent
1f79c7f7c0
commit
f731dd376c
@ -476,7 +476,10 @@ end_element (GMarkupParseContext *context,
|
||||
g_set_error (error, G_MARKUP_ERROR, G_MARKUP_ERROR_INVALID_CONTENT,
|
||||
_("Error compressing file %s"),
|
||||
real_file);
|
||||
goto cleanup;
|
||||
g_object_unref (compressor);
|
||||
g_object_unref (out);
|
||||
g_object_unref (out2);
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
g_free (data->content);
|
||||
|
Loading…
Reference in New Issue
Block a user