summaryrefslogtreecommitdiff
path: root/sys/msdk/gstmsdkcontext.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/msdk/gstmsdkcontext.c')
-rw-r--r--sys/msdk/gstmsdkcontext.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/msdk/gstmsdkcontext.c b/sys/msdk/gstmsdkcontext.c
index 860722acd..c7a7e04f1 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;
}