From 74a90087c1d7a27e097ab6b8b2ff55c0ae17e581 Mon Sep 17 00:00:00 2001 From: Jimmy Ohn Date: Mon, 21 Mar 2016 15:22:15 +0900 Subject: [PATCH] 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 --- gst/mxf/mxfdemux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/mxf/mxfdemux.c b/gst/mxf/mxfdemux.c index f11d604798..0eaad0f4cc 100644 --- a/gst/mxf/mxfdemux.c +++ b/gst/mxf/mxfdemux.c @@ -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;