mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
vorbistag: fix buffer leaks in tests
It internally uses gst_check_chain_func() so we should call gst_check_drop_buffers() when tearing down tests to free the buffers which have been exchanged through the pipeline. https://bugzilla.gnome.org/show_bug.cgi?id=766226
This commit is contained in:
parent
c6eb9df930
commit
1b2f9f2c3f
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ cleanup_vorbistag (GstElement * vorbistag)
|
|||
|
||||
gst_pad_set_active (mysrcpad, FALSE);
|
||||
gst_pad_set_active (mysinkpad, FALSE);
|
||||
gst_check_drop_buffers ();
|
||||
gst_check_teardown_src_pad (vorbistag);
|
||||
gst_check_teardown_sink_pad (vorbistag);
|
||||
gst_check_teardown_element (vorbistag);
|
||||
|
|
Loading…
Reference in a new issue