[0.11] gst-plugins-bad: mpegdemux: Don't leak the SCHEDULING query

Sebastian Dröge slomo at kemper.freedesktop.org
Fri Jan 27 07:57:11 PST 2012


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

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Fri Jan 27 16:56:53 2012 +0100

mpegdemux: Don't leak the SCHEDULING query

---

 gst/mpegdemux/gstmpegdemux.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gst/mpegdemux/gstmpegdemux.c b/gst/mpegdemux/gstmpegdemux.c
index 27e64a5..a76f11d 100644
--- a/gst/mpegdemux/gstmpegdemux.c
+++ b/gst/mpegdemux/gstmpegdemux.c
@@ -2876,6 +2876,8 @@ gst_flups_demux_sink_activate (GstPad * sinkpad, GstObject * parent)
     }
   }
 
+  gst_query_unref (query);
+
   return res;
 }
 



More information about the gstreamer-commits mailing list