mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
msdkdec: Fix GstMsdkContext leak
This commit is contained in:
parent
a8fff639c8
commit
5d160a8968
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue