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
This commit is contained in:
Guillaume Desmottes 2016-05-19 11:19:57 +03:00 committed by Sebastian Dröge
parent fc5cb1ec13
commit a68534d094

View file

@ -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);