omxallocator: fix leak with a proper chaining finalize
authorStéphane Cerveau <scerveau@collabora.com>
Mon, 7 Oct 2019 16:59:10 +0000 (16:59 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 7 Oct 2019 16:59:10 +0000 (16:59 +0000)
omx/gstomxallocator.c

index cf8058a..a180669 100644 (file)
@@ -233,6 +233,8 @@ gst_omx_allocator_finalize (GObject * object)
   gst_omx_component_unref (allocator->component);
   g_mutex_clear (&allocator->lock);
   g_cond_clear (&allocator->cond);
+
+  G_OBJECT_CLASS (gst_omx_allocator_parent_class)->finalize (object);
 }
 
 gboolean