From: Andoni Morales Alastruey Date: Tue, 29 Mar 2011 21:18:24 +0000 (+0200) Subject: hlsdemux: don't leek the query X-Git-Tag: 1.19.3~507^2~16050^2~398 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=91196418eaf0cdfe7e07f954aac44ecc47e67bcc;p=platform%2Fupstream%2Fgstreamer.git hlsdemux: don't leek the query --- diff --git a/gst/hls/gsthlsdemux.c b/gst/hls/gsthlsdemux.c index 745dfd1bc9..edd65fbf5c 100644 --- a/gst/hls/gsthlsdemux.c +++ b/gst/hls/gsthlsdemux.c @@ -327,6 +327,7 @@ gst_hls_demux_sink_event (GstPad * pad, GstEvent * event) gst_hls_demux_set_location (demux, uri); g_free (uri); } + gst_query_unref (query); playlist = g_strndup ((gchar *) GST_BUFFER_DATA (demux->playlist), GST_BUFFER_SIZE (demux->playlist));