diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-06-14 19:35:29 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-06-19 11:03:15 +0200 |
commit | 32a0af3e54935e2ee2945d5ac2e791bd03d6afa3 (patch) | |
tree | 283db4db35af14c370d99796e9c38225521d11af /gst/frei0r | |
parent | 15f1ccaef8a48e5646df4a38592ab570d0aff93e (diff) | |
download | gst-plugins-bad-32a0af3e54935e2ee2945d5ac2e791bd03d6afa3.tar.gz gst-plugins-bad-32a0af3e54935e2ee2945d5ac2e791bd03d6afa3.tar.bz2 gst-plugins-bad-32a0af3e54935e2ee2945d5ac2e791bd03d6afa3.zip |
frei0r: Unref the GstCollectPads instance on finalize
Diffstat (limited to 'gst/frei0r')
-rw-r--r-- | gst/frei0r/gstfrei0rmixer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/frei0r/gstfrei0rmixer.c b/gst/frei0r/gstfrei0rmixer.c index 5e2f5e3c..a0252f7c 100644 --- a/gst/frei0r/gstfrei0rmixer.c +++ b/gst/frei0r/gstfrei0rmixer.c @@ -60,6 +60,10 @@ gst_frei0r_mixer_finalize (GObject * object) klass->n_properties); self->property_cache = NULL; + if (self->collect) + gst_object_unref (self->collect); + self->collect = NULL; + G_OBJECT_CLASS (g_type_class_peek_parent (klass))->finalize (object); } |