summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarima Gaur <garima.g@samsung.com>2016-12-07 17:22:22 +0530
committerSebastian Dröge <sebastian@centricular.com>2016-12-07 14:20:34 +0200
commitc3cdae4d6e66d9d04c2a26d3162ef2a64f10aa0c (patch)
tree0c04e00852c28f60745ca8642ee7cefd95f836c1
parent96aaf889afe90b5e02ec756af5c6c7000d2cc424 (diff)
monoscope: Unref allocation query after finished with it
https://bugzilla.gnome.org/show_bug.cgi?id=775752
-rw-r--r--gst/monoscope/gstmonoscope.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/monoscope/gstmonoscope.c b/gst/monoscope/gstmonoscope.c
index 8aebbdbfb..0cbde7412 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;