summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2016-05-19 11:19:57 +0300
committerSebastian Dröge <sebastian@centricular.com>2016-06-21 10:52:47 +0300
commita68534d09449773165e756348ae5fc0c214c588c (patch)
tree3b7e04fc8a7ffa1b104e6134fea891ab9bd925b2 /tests
parentfc5cb1ec137f07d457a23819adc3e18db9f4315e (diff)
downloadgstreamer-plugins-bad-a68534d09449773165e756348ae5fc0c214c588c.tar.gz
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
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/autoconvert.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check/elements/autoconvert.c b/tests/check/elements/autoconvert.c
index 95ca2d729..c1c040f6a 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);