projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9f664f6
)
tests: vorbisec: fix leaks in unit test
author
Tim-Philipp Müller
<tim@centricular.com>
Wed, 6 Mar 2019 09:23:47 +0000
(09:23 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Wed, 6 Mar 2019 10:51:40 +0000
(10:51 +0000)
tests/check/elements/vorbisdec.c
patch
|
blob
|
history
diff --git
a/tests/check/elements/vorbisdec.c
b/tests/check/elements/vorbisdec.c
index
b18f97b
..
376f37d
100644
(file)
--- a/
tests/check/elements/vorbisdec.c
+++ b/
tests/check/elements/vorbisdec.c
@@
-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);
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 */
}
/* FIXME: also tests comment header */