X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/b386d6502db041f0c3fdcecf55dd7563defb6fed..6ebc4527c6a103d0532c08744fb916f951018413:/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