From b9018b28701e5d56a4dc26c0837655204ae63228 Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Sun, 9 Sep 2012 21:56:43 +0200 Subject: [PATCH] hlssink: don't unref ->multifilesink. We gst_bin_add it to ourself so no need to unref in _dispose. --- gst/hls/gsthlssink.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gst/hls/gsthlssink.c b/gst/hls/gsthlssink.c index a614bd7e74..5b14f69091 100644 --- a/gst/hls/gsthlssink.c +++ b/gst/hls/gsthlssink.c @@ -72,9 +72,6 @@ gst_hls_sink_dispose (GObject * object) { GstHlsSink *sink = GST_HLS_SINK_CAST (object); - if (sink->multifilesink) - g_object_unref (sink->multifilesink); - G_OBJECT_CLASS (parent_class)->dispose ((GObject *) sink); }