summaryrefslogtreecommitdiff
path: root/gst/monoscope/gstmonoscope.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/monoscope/gstmonoscope.c')
-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;