[0.11] gst-plugins-base: oggdemux: don't leak scheduling query

René Stadler cymacs at kemper.freedesktop.org
Fri Oct 7 05:07:48 PDT 2011


Module: gst-plugins-base
Branch: 0.11
Commit: 1d3980cda23a8a4daf8c25ad893c92209a41e881
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=1d3980cda23a8a4daf8c25ad893c92209a41e881

Author: René Stadler <rene.stadler at collabora.co.uk>
Date:   Fri Oct  7 14:05:19 2011 +0200

oggdemux: don't leak scheduling query

---

 ext/ogg/gstoggdemux.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c
index 31d4255..f535e60 100644
--- a/ext/ogg/gstoggdemux.c
+++ b/ext/ogg/gstoggdemux.c
@@ -4331,6 +4331,7 @@ gst_ogg_demux_sink_activate (GstPad * sinkpad)
   }
 
   gst_query_parse_scheduling (query, &pull_mode, NULL, NULL, NULL, NULL, NULL);
+  gst_query_unref (query);
 
   if (!pull_mode)
     goto activate_push;



More information about the gstreamer-commits mailing list