summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane Cerveau <scerveau@collabora.com>2019-10-07 16:59:10 +0000
committerTim-Philipp Müller <tim@centricular.com>2019-10-07 16:59:10 +0000
commita5a22f03a56e966c8da2c3eafa78c22de9d7ac87 (patch)
treeb26b41c6f499b9d337c6079eb00e75bbaa78d700
parentd0bc3ed84033d9562e6a3bafa2a19ea315068cea (diff)
downloadgst-omx-a5a22f03a56e966c8da2c3eafa78c22de9d7ac87.tar.gz
omxallocator: fix leak with a proper chaining finalize
-rw-r--r--omx/gstomxallocator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/omx/gstomxallocator.c b/omx/gstomxallocator.c
index cf8058a..a180669 100644
--- a/omx/gstomxallocator.c
+++ b/omx/gstomxallocator.c
@@ -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