diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2008-02-12 10:22:42 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@mad.scientist.com> | 2008-02-12 10:22:42 +0000 |
commit | 8792203e3938118f5800b75eeb1930720870f82f (patch) | |
tree | c1a715cb13e1b4845d5077c3621e0f889e3b44f1 /sys | |
parent | 93e767bed88cb2195158981c6bfe6263c3bfe320 (diff) | |
download | gst-plugins-bad-8792203e3938118f5800b75eeb1930720870f82f.tar.gz gst-plugins-bad-8792203e3938118f5800b75eeb1930720870f82f.tar.bz2 gst-plugins-bad-8792203e3938118f5800b75eeb1930720870f82f.zip |
Fix some finalize leaks by chaining up to the parent method.
Original commit message from CVS:
* 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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/glsink/glimagesink.c | 2 | ||||
-rw-r--r-- | sys/glsink/gstgldisplay.c | 2 |
2 files changed, 4 insertions, 0 deletions
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); |