tests: vorbisec: fix leaks in unit test

This commit is contained in:
Tim-Philipp Müller 2019-03-06 09:23:47 +00:00
parent 9f664f62ee
commit 273da3ed2f

View file

@ -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 */