mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-25 01:54:17 +00:00
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:
parent
fc5cb1ec13
commit
a68534d094
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue