summaryrefslogtreecommitdiffstats
path: root/gst/frei0r
diff options
context:
space:
mode:
Diffstat (limited to 'gst/frei0r')
-rw-r--r--gst/frei0r/gstfrei0rmixer.c4
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);
}