diff --git a/sys/msdk/gstmsdkcontext.c b/sys/msdk/gstmsdkcontext.c index 860722acda..c7a7e04f14 100644 --- a/sys/msdk/gstmsdkcontext.c +++ b/sys/msdk/gstmsdkcontext.c @@ -200,7 +200,6 @@ gst_msdk_context_open (GstMsdkContext * context, gboolean hardware, failed: msdk_close_session (priv->session); - gst_object_unref (context); return FALSE; }