From 1af510f8d54ddeb58f1c8e6db3f4fe45d21dd026 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Mon, 24 Sep 2007 10:53:37 +0000 Subject: Massive leak fixing, plus code cleanups. Original commit message from CVS: * ext/audioresample/gstaudioresample.c: * ext/x264/gstx264enc.c: * gst/dvdspu/gstdvdspu.c: * gst/dvdspu/gstdvdspu.h: * gst/festival/gstfestival.c: * gst/h264parse/gsth264parse.c: * gst/mpegtsparse/mpegtspacketizer.c: * gst/mpegtsparse/mpegtsparse.c: * gst/multifile/gstmultifilesink.c: * gst/multifile/gstmultifilesrc.c: * gst/nuvdemux/gstnuvdemux.c: * sys/dshowsrcwrapper/gstdshowaudiosrc.c: * sys/dshowsrcwrapper/gstdshowvideosrc.c: * sys/vcd/vcdsrc.c: Massive leak fixing, plus code cleanups. --- gst/multifile/gstmultifilesink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst/multifile/gstmultifilesink.c') diff --git a/gst/multifile/gstmultifilesink.c b/gst/multifile/gstmultifilesink.c index 58977817..9280f1f5 100644 --- a/gst/multifile/gstmultifilesink.c +++ b/gst/multifile/gstmultifilesink.c @@ -142,10 +142,10 @@ gst_multi_file_sink_dispose (GObject * object) { GstMultiFileSink *sink = GST_MULTI_FILE_SINK (object); - G_OBJECT_CLASS (parent_class)->dispose (object); - g_free (sink->filename); sink->filename = NULL; + + G_OBJECT_CLASS (parent_class)->dispose (object); } static gboolean -- cgit v1.2.1