diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | ext/xvid/gstxvidenc.c | 2 | ||||
-rw-r--r-- | gst/vmnc/vmncdec.c | 2 | ||||
-rw-r--r-- | sys/glsink/glimagesink.c | 2 | ||||
-rw-r--r-- | sys/glsink/gstgldisplay.c | 2 |
5 files changed, 17 insertions, 0 deletions
@@ -1,3 +1,12 @@ +2008-02-12 Jan Schmidt <jan.schmidt@sun.com> + + * ext/xvid/gstxvidenc.c: + * gst/vmnc/vmncdec.c: + * sys/glsink/glimagesink.c: + * sys/glsink/gstgldisplay.c: + + Fix some finalize leaks by chaining up to the parent method. + 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org> * tests/check/elements/souphttpsrc.c: diff --git a/ext/xvid/gstxvidenc.c b/ext/xvid/gstxvidenc.c index 5407efc1..306bac33 100644 --- a/ext/xvid/gstxvidenc.c +++ b/ext/xvid/gstxvidenc.c @@ -519,6 +519,8 @@ gst_xvidenc_finalize (GObject * object) GstXvidEnc *xvidenc = GST_XVIDENC (object); g_free (xvidenc->filename); + + G_OBJECT_CLASS (parent_class)->finalize (object); } static gboolean diff --git a/gst/vmnc/vmncdec.c b/gst/vmnc/vmncdec.c index e6c6f8ae..6b29c592 100644 --- a/gst/vmnc/vmncdec.c +++ b/gst/vmnc/vmncdec.c @@ -219,6 +219,8 @@ vmnc_dec_finalize (GObject * object) GstVMncDec *dec = GST_VMNC_DEC (object); g_object_unref (dec->adapter); + + G_OBJECT_CLASS (parent_class)->finalize (object); } static void diff --git a/sys/glsink/glimagesink.c b/sys/glsink/glimagesink.c index 250a4efc..322b0438 100644 --- a/sys/glsink/glimagesink.c +++ b/sys/glsink/glimagesink.c @@ -207,6 +207,8 @@ gst_glimage_sink_finalize (GObject * object) gst_caps_unref (glimage_sink->caps); } g_free (glimage_sink->display_name); + + G_OBJECT_CLASS (parent_class)->finalize (object); } static void diff --git a/sys/glsink/gstgldisplay.c b/sys/glsink/gstgldisplay.c index 99a732e2..fd81f9cf 100644 --- a/sys/glsink/gstgldisplay.c +++ b/sys/glsink/gstgldisplay.c @@ -75,6 +75,8 @@ gst_gl_display_finalize (GObject * object) if (display->lock) { g_mutex_free (display->lock); } + + G_OBJECT_CLASS (parent_class)->finalize (object); } static gboolean gst_gl_display_check_features (GstGLDisplay * display); |