msdkdec: Fix GstMsdkContext leak

This commit is contained in:
Seungha Yang 2020-01-29 14:10:06 +09:00
parent a8fff639c8
commit 5d160a8968

View file

@ -1635,6 +1635,8 @@ gst_msdkdec_dispose (GObject * object)
GstMsdkDec *thiz = GST_MSDKDEC (object);
g_clear_object (&thiz->adapter);
gst_clear_object (&thiz->context);
gst_clear_object (&thiz->old_context);
G_OBJECT_CLASS (parent_class)->dispose (object);
}