From: Guillaume Desmottes Date: Thu, 19 May 2016 10:31:56 +0000 (+0300) Subject: glimagesink: fix query leak in test X-Git-Tag: 1.16.2~955^2~306 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f077d937adcccb742e27a03881c706c2e8a9269e;p=platform%2Fupstream%2Fgst-plugins-base.git glimagesink: fix query leak in test https://bugzilla.gnome.org/show_bug.cgi?id=766663 --- diff --git a/tests/check/elements/glimagesink.c b/tests/check/elements/glimagesink.c index cc32015..b0f9e30 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.