mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
tests: vorbisec: fix leaks in unit test
This commit is contained in:
parent
9f664f62ee
commit
273da3ed2f
1 changed files with 3 additions and 0 deletions
|
@ -99,6 +99,9 @@ cleanup_vorbisdec (GstElement * vorbisdec)
|
|||
gst_check_teardown_src_pad (vorbisdec);
|
||||
gst_check_teardown_sink_pad (vorbisdec);
|
||||
gst_check_teardown_element (vorbisdec);
|
||||
|
||||
g_list_free_full (buffers, (GDestroyNotify) gst_buffer_unref);
|
||||
buffers = NULL;
|
||||
}
|
||||
|
||||
/* FIXME: also tests comment header */
|
||||
|
|
Loading…
Reference in a new issue