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:
d58b7cf
)
tests: audioconvert: fix leaks in unit test
author
Tim-Philipp Müller
<tim@centricular.com>
Wed, 6 Mar 2019 09:22:17 +0000
(09:22 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Wed, 6 Mar 2019 10:51:40 +0000
(10:51 +0000)
tests/check/elements/audioconvert.c
patch
|
blob
|
history
diff --git
a/tests/check/elements/audioconvert.c
b/tests/check/elements/audioconvert.c
index
807c351
..
37113ea
100644
(file)
--- a/
tests/check/elements/audioconvert.c
+++ b/
tests/check/elements/audioconvert.c
@@
-1809,6
+1809,7
@@
GST_START_TEST (test_layout_conv_fixate_caps)
assert_equals_string (gst_structure_get_string (s, "format"), "F32LE");
assert_equals_string (gst_structure_get_string (s, "layout"),
"non-interleaved");
+ gst_clear_caps (&caps);
fail_unless (gst_element_set_state (audioconvert,
GST_STATE_NULL) == GST_STATE_CHANGE_SUCCESS, "could not set to null");