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_source on null
[aubio.git]
/
tests
/
src
/
io
/
test-source.c
diff --git
a/tests/src/io/test-source.c
b/tests/src/io/test-source.c
index
a3cad3e
..
8b69f68
100644
(file)
--- a/
tests/src/io/test-source.c
+++ b/
tests/src/io/test-source.c
@@
-141,5
+141,8
@@
int test_wrong_params(void)
del_fmat(mat);
del_fvec(vec);
+ // shouldn't crash on null
+ del_aubio_source(NULL);
+
return run_on_default_source(main);
}