Commit c3cdae4d authored by Garima Gaur's avatar Garima Gaur Committed by Sebastian Dröge

monoscope: Unref allocation query after finished with it
parent 96aaf889
...@@ -291,6 +291,7 @@ gst_monoscope_src_negotiate (GstMonoscope * monoscope) ...@@ -291,6 +291,7 @@ gst_monoscope_src_negotiate (GstMonoscope * monoscope)
/* and activate */ /* and activate */
gst_buffer_pool_set_active (pool, TRUE); gst_buffer_pool_set_active (pool, TRUE);
gst_query_unref (query);
gst_caps_unref (target); gst_caps_unref (target);
return TRUE; return TRUE;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment