oggdemux: don't leak scheduling query

This commit is contained in:
René Stadler 2011-10-07 14:05:19 +02:00
parent b8219faa90
commit 1d3980cda2

View file

@ -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;