From: Guillaume Desmottes Date: Thu, 19 May 2016 08:19:57 +0000 (+0300) Subject: fix buffer leaks in tests X-Git-Tag: 1.19.3~507^2~6444 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a68534d09449773165e756348ae5fc0c214c588c;p=platform%2Fupstream%2Fgstreamer.git 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 --- 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);