v4l2codecs: allocator: use gst_clear_object
So tracer can do its job.
This commit is contained in:
parent
04b98a4ecd
commit
e96435dfea
@ -212,7 +212,7 @@ gst_v4l2_codec_allocator_dispose (GObject * object)
|
|||||||
while ((buf = g_queue_pop_head (&self->pool)))
|
while ((buf = g_queue_pop_head (&self->pool)))
|
||||||
gst_v4l2_codec_buffer_free (buf);
|
gst_v4l2_codec_buffer_free (buf);
|
||||||
|
|
||||||
g_clear_object (&self->decoder);
|
gst_clear_object (&self->decoder);
|
||||||
|
|
||||||
G_OBJECT_CLASS (gst_v4l2_codec_allocator_parent_class)->dispose (object);
|
G_OBJECT_CLASS (gst_v4l2_codec_allocator_parent_class)->dispose (object);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user