projects
/
aubio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[tests] test del_aubio_sink on null
[aubio.git]
/
tests
/
src
/
io
/
test-sink.c
diff --git
a/tests/src/io/test-sink.c
b/tests/src/io/test-sink.c
index
e004268
..
35a2060
100644
(file)
--- a/
tests/src/io/test-sink.c
+++ b/
tests/src/io/test-sink.c
@@
-147,5
+147,8
@@
int test_wrong_params(void)
// delete temp file
close_temp_sink(sink_path, fd);
+ // shouldn't crash on null
+ del_aubio_sink(NULL);
+
return run_on_default_source_and_sink(main);
}