mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
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.
This commit is contained in:
parent
93e767bed8
commit
8792203e39
5 changed files with 17 additions and 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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue