X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/21237d054e4b9d6091decded21898b22dfb4f92c..96f6312a0a827d2f90e7ab88d3a203c56eb82a9f:/lib/wav.c diff --git a/lib/wav.c b/lib/wav.c index 6558c69..fe7ffbb 100644 --- a/lib/wav.c +++ b/lib/wav.c @@ -196,7 +196,8 @@ error: } /** @brief Close a WAV file */ -void wav_destroy(struct wavfile attribute((unused)) *f) { +void wav_destroy(struct wavfile *f) { + hreader_close(f->input); } /** @brief Visit all the data in a WAV file