From f077d937adcccb742e27a03881c706c2e8a9269e Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 19 May 2016 13:31:56 +0300 Subject: [PATCH] glimagesink: fix query leak in test https://bugzilla.gnome.org/show_bug.cgi?id=766663 --- tests/check/elements/glimagesink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/check/elements/glimagesink.c b/tests/check/elements/glimagesink.c index cc32015f55..b0f9e30d6d 100644 --- a/tests/check/elements/glimagesink.c +++ b/tests/check/elements/glimagesink.c @@ -186,6 +186,7 @@ GST_START_TEST (test_query_drain) * releases the buffers it currently owns, upon drain query. */ query = gst_query_new_drain (); DO_CALL (do_peer_query_func, query); + gst_query_unref (query); /* Transfer buffers back to the downstream pool to be release * properly. This also make sure that all buffers are returned.