delete test.wav
fix dangling pointers.