From a68534d09449773165e756348ae5fc0c214c588c Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 19 May 2016 11:19:57 +0300 Subject: [PATCH] fix buffer leaks in tests gst_check_drop_buffers() release the buffers exchanged during the test. https://bugzilla.gnome.org/show_bug.cgi?id=766663 --- tests/check/elements/autoconvert.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/check/elements/autoconvert.c b/tests/check/elements/autoconvert.c index 95ca2d7..c1c040f 100644 --- a/tests/check/elements/autoconvert.c +++ b/tests/check/elements/autoconvert.c @@ -140,6 +140,7 @@ GST_START_TEST (test_autoconvert_simple) gst_bus_set_flushing (bus, TRUE); gst_object_unref (bus); + gst_check_drop_buffers (); gst_pad_set_active (test_src_pad, FALSE); gst_pad_set_active (test_sink_pad, FALSE); gst_check_teardown_src_pad (autoconvert); -- 2.7.4