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

Tim Müller tpm at kemper.freedesktop.org
Wed Jan 18 05:29:44 PST 2012


Module: gst-plugins-bad
Branch: 0.10
Commit: 9cedead138c8b0e2c64e5e6760ec341f6e38a9ab
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=9cedead138c8b0e2c64e5e6760ec341f6e38a9ab

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