v4l2codecs: allocator: use gst_clear_object

So tracer can do its job.
This commit is contained in:
Víctor Manuel Jáquez Leal 2020-04-16 22:15:37 +02:00 committed by GStreamer Merge Bot
parent 04b98a4ecd
commit e96435dfea

View file

@ -212,7 +212,7 @@ gst_v4l2_codec_allocator_dispose (GObject * object)
while ((buf = g_queue_pop_head (&self->pool)))
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);
}