diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2016-05-19 13:31:56 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-06-21 10:52:47 +0300 |
commit | 0d6359d4a20bb2d3c5ff9556b728461e0ffcb6cc (patch) | |
tree | 3b0c6b82b9373890adeb48015641b087e74c03f8 /tests | |
parent | e071510b12404e3875b750141552075dca98fb63 (diff) | |
download | gstreamer-plugins-bad-0d6359d4a20bb2d3c5ff9556b728461e0ffcb6cc.tar.gz |
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.c | 1 |
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. |