summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2016-05-19 13:31:56 +0300
committerSebastian Dröge <sebastian@centricular.com>2016-06-21 10:52:47 +0300
commit0d6359d4a20bb2d3c5ff9556b728461e0ffcb6cc (patch)
tree3b0c6b82b9373890adeb48015641b087e74c03f8 /tests
parente071510b12404e3875b750141552075dca98fb63 (diff)
glimagesink: fix query leak in test
https://bugzilla.gnome.org/show_bug.cgi?id=766663
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/glimagesink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check/elements/glimagesink.c b/tests/check/elements/glimagesink.c
index cc32015f5..b0f9e30d6 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.