From c3cdae4d6e66d9d04c2a26d3162ef2a64f10aa0c Mon Sep 17 00:00:00 2001 From: Garima Gaur Date: Wed, 7 Dec 2016 17:22:22 +0530 Subject: [PATCH] monoscope: Unref allocation query after finished with it https://bugzilla.gnome.org/show_bug.cgi?id=775752 --- gst/monoscope/gstmonoscope.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/monoscope/gstmonoscope.c b/gst/monoscope/gstmonoscope.c index 8aebbdbfbc..0cbde7412f 100644 --- a/gst/monoscope/gstmonoscope.c +++ b/gst/monoscope/gstmonoscope.c @@ -291,6 +291,7 @@ gst_monoscope_src_negotiate (GstMonoscope * monoscope) /* and activate */ gst_buffer_pool_set_active (pool, TRUE); + gst_query_unref (query); gst_caps_unref (target); return TRUE;