msdkdec: Fix GstMsdkContext leak
This commit is contained in:
parent
a8fff639c8
commit
5d160a8968
@ -1635,6 +1635,8 @@ gst_msdkdec_dispose (GObject * object)
|
|||||||
GstMsdkDec *thiz = GST_MSDKDEC (object);
|
GstMsdkDec *thiz = GST_MSDKDEC (object);
|
||||||
|
|
||||||
g_clear_object (&thiz->adapter);
|
g_clear_object (&thiz->adapter);
|
||||||
|
gst_clear_object (&thiz->context);
|
||||||
|
gst_clear_object (&thiz->old_context);
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->dispose (object);
|
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user