[0.11] gst-plugins-bad: cogmse: fix finalize not calling base class ( and leaking)

Sebastian Dröge slomo at kemper.freedesktop.org
Wed Jan 25 04:23:56 PST 2012


Module: gst-plugins-bad
Branch: 0.11
Commit: 60a0741e16d3f88eef0deae116a50bb58427643b
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=60a0741e16d3f88eef0deae116a50bb58427643b

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Fri Jan 13 13:30:57 2012 +0000

cogmse: fix finalize not calling base class (and leaking)

---

 ext/cog/gstcogmse.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ext/cog/gstcogmse.c b/ext/cog/gstcogmse.c
index 446d994..f85c873 100644
--- a/ext/cog/gstcogmse.c
+++ b/ext/cog/gstcogmse.c
@@ -209,6 +209,8 @@ gst_mse_finalize (GObject * object)
   g_mutex_free (fs->lock);
   g_cond_free (fs->cond);
   gst_buffer_replace (&fs->buffer_ref, NULL);
+
+  GST_CALL_PARENT (G_OBJECT_CLASS, finalize, (object));
 }
 
 static GstCaps *



More information about the gstreamer-commits mailing list