gst-plugins-bad: hlsdemux: fix queue leak

Vincent Penquerc'h vincent at kemper.freedesktop.org
Thu Jan 12 07:58:58 PST 2012


Module: gst-plugins-bad
Branch: master
Commit: 72eb8209a524c1401db031aa3d69d907003d913e
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=72eb8209a524c1401db031aa3d69d907003d913e

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Thu Jan 12 15:58:36 2012 +0000

hlsdemux: fix queue leak

---

 gst/hls/gsthlsdemux.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gst/hls/gsthlsdemux.c b/gst/hls/gsthlsdemux.c
index 92e5f68..d840ae0 100644
--- a/gst/hls/gsthlsdemux.c
+++ b/gst/hls/gsthlsdemux.c
@@ -164,6 +164,7 @@ gst_hls_demux_dispose (GObject * obj)
 
   gst_hls_demux_reset (demux, TRUE);
 
+  g_queue_free (demux->queue);
   gst_object_unref (demux->download);
 
   G_OBJECT_CLASS (parent_class)->dispose (obj);



More information about the gstreamer-commits mailing list