From: Guillaume Desmottes Date: Tue, 5 May 2015 16:01:46 +0000 (+0200) Subject: oggdemux: fix chain leak X-Git-Tag: 1.19.3~511^2~3606 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c10b58cce02c2db99e38d63b3c855bca22af8a6;p=platform%2Fupstream%2Fgstreamer.git oggdemux: fix chain leak Don't leak the building_chain when destroying. Fix leaks with the validate.http.playback.reverse_playback.vorbis_theora_1_ogg scenario. https://bugzilla.gnome.org/show_bug.cgi?id=748964 --- diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index 863b759..34f472c 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -2272,6 +2272,9 @@ gst_ogg_demux_finalize (GObject * object) gst_flow_combiner_free (ogg->flowcombiner); + if (ogg->building_chain) + gst_ogg_chain_free (ogg->building_chain); + G_OBJECT_CLASS (parent_class)->finalize (object); }