From e96435dfea94f982e8563f53e53e5b7b7a75fee9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Thu, 16 Apr 2020 22:15:37 +0200 Subject: [PATCH] v4l2codecs: allocator: use gst_clear_object So tracer can do its job. --- sys/v4l2codecs/gstv4l2codecallocator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/v4l2codecs/gstv4l2codecallocator.c b/sys/v4l2codecs/gstv4l2codecallocator.c index 46d6fa823a..d18e8bb70f 100644 --- a/sys/v4l2codecs/gstv4l2codecallocator.c +++ b/sys/v4l2codecs/gstv4l2codecallocator.c @@ -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); }