monoscope: Unref allocation query after finished with it
authorGarima Gaur <garima.g@samsung.com>
Wed, 7 Dec 2016 11:52:22 +0000 (17:22 +0530)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 7 Dec 2016 12:20:34 +0000 (14:20 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=775752

gst/monoscope/gstmonoscope.c

index 8aebbdb..0cbde74 100644 (file)
@@ -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;