tests: vorbisec: fix leaks in unit test
This commit is contained in:
parent
9f664f62ee
commit
273da3ed2f
@ -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…
x
Reference in New Issue
Block a user