mxfdemux: Fix query memory leak

Peer query isn't being freed in case of GST_QUERY_SEEKING.

https://bugzilla.gnome.org/show_bug.cgi?id=763974
This commit is contained in:
Jimmy Ohn 2016-03-21 15:22:15 +09:00 committed by Sebastian Dröge
parent 02fff22db5
commit 74a90087c1

View file

@ -3964,6 +3964,8 @@ gst_mxf_demux_src_query (GstPad * pad, GstObject * parent, GstQuery * query)
gst_query_set_seeking (query, GST_FORMAT_TIME, TRUE, 0, -1);
else
gst_query_set_seeking (query, GST_FORMAT_TIME, FALSE, -1, -1);
gst_query_unref (peerquery);
}
break;