monoscope: Unref allocation query after finished with it

https://bugzilla.gnome.org/show_bug.cgi?id=775752
This commit is contained in:
Garima Gaur 2016-12-07 17:22:22 +05:30 committed by Sebastian Dröge
parent 96aaf889af
commit c3cdae4d6e

View 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;