mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
glimagesink: fix query leak in test
https://bugzilla.gnome.org/show_bug.cgi?id=766663
This commit is contained in:
parent
a7f21fedc5
commit
f077d937ad
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@ GST_START_TEST (test_query_drain)
|
||||||
* releases the buffers it currently owns, upon drain query. */
|
* releases the buffers it currently owns, upon drain query. */
|
||||||
query = gst_query_new_drain ();
|
query = gst_query_new_drain ();
|
||||||
DO_CALL (do_peer_query_func, query);
|
DO_CALL (do_peer_query_func, query);
|
||||||
|
gst_query_unref (query);
|
||||||
|
|
||||||
/* Transfer buffers back to the downstream pool to be release
|
/* Transfer buffers back to the downstream pool to be release
|
||||||
* properly. This also make sure that all buffers are returned.
|
* properly. This also make sure that all buffers are returned.
|
||||||
|
|
Loading…
Reference in a new issue