registrychunk: Fix leak in failed case of reading plugin dependency string

https://bugzilla.gnome.org/show_bug.cgi?id=783978
This commit is contained in:
Heekyoung Seo 2017-06-20 16:10:07 +09:00 committed by Sebastian Dröge
parent 848dee060b
commit d32afe3f71

View file

@ -758,6 +758,7 @@ gst_registry_chunks_load_plugin_dep_strv (gchar ** in, gchar * end, guint n)
return arr;
fail:
GST_INFO ("Reading plugin dependency strings failed");
g_strfreev (arr);
return NULL;
}