[0.10] gst-plugins-bad: hlsdemux: fix queue leak

Tim Müller tpm at kemper.freedesktop.org
Wed Jan 18 05:29:43 PST 2012


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

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