From 32a0af3e54935e2ee2945d5ac2e791bd03d6afa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 14 Jun 2009 19:35:29 +0200 Subject: frei0r: Unref the GstCollectPads instance on finalize --- gst/frei0r/gstfrei0rmixer.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gst/frei0r') 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); } -- cgit v1.2.1