From: Matthieu Bouron Date: Fri, 3 Jan 2014 12:49:05 +0000 (+0000) Subject: plugins: do not free debug category in finalize method. X-Git-Tag: 0.5.8~94 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=231a067cddc551955fadfb1021f8d6d2b0e1e1ca;p=platform%2Fupstream%2Fgstreamer-vaapi.git plugins: do not free debug category in finalize method. Fixes a crash when multiple vaapidecode elements are finalized since the debug category is created once in the class init method. This is a regression from git commit 7e58d60. https://bugzilla.gnome.org/show_bug.cgi?id=721390 Signed-off-by: Gwenole Beauchesne --- diff --git a/gst/vaapi/gstvaapipluginbase.c b/gst/vaapi/gstvaapipluginbase.c index e1ff740..1c0bc1a 100644 --- a/gst/vaapi/gstvaapipluginbase.c +++ b/gst/vaapi/gstvaapipluginbase.c @@ -150,7 +150,6 @@ gst_vaapi_plugin_base_finalize (GstVaapiPluginBase * plugin) gst_object_unref (plugin->sinkpad); if (plugin->srcpad) gst_object_unref (plugin->srcpad); - gst_debug_category_free (plugin->debug_category); } /**