diff options
author | Jimmy Ohn <yongjin.ohn@lge.com> | 2016-03-21 15:22:15 +0900 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2016-04-06 14:29:17 +0100 |
commit | 94312769032f08fa027ef164f0819ad64923bae3 (patch) | |
tree | 4429c1110030062bdc77c7b794108a4ffdeffb74 | |
parent | edfaa5606c36ea869256a90480f10ba8578d21ca (diff) | |
download | gstreamer-plugins-bad-94312769032f08fa027ef164f0819ad64923bae3.tar.gz |
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
-rw-r--r-- | gst/mxf/mxfdemux.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/mxf/mxfdemux.c b/gst/mxf/mxfdemux.c index e45e49c6e..a0125b4c6 100644 --- a/gst/mxf/mxfdemux.c +++ b/gst/mxf/mxfdemux.c @@ -3782,6 +3782,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; |