X-Git-Url: https://git.aubio.org/?p=aubio.git;a=blobdiff_plain;f=tests%2Fsrc%2Fio%2Ftest-sink.c;h=35a2060637379bf9e84432feea961e95515b5aa9;hp=e004268f328bfffb922059813dc34a7808d3fca9;hb=37c7e61a5ed40454aabbbcb04c4a334caad04823;hpb=19b839f69f8b17e8501a61052b469d404a2edcea diff --git a/tests/src/io/test-sink.c b/tests/src/io/test-sink.c index e004268f..35a20606 100644 --- 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); }