SDL_FreeWAV man page
SDL_FreeWAV — Frees previously opened WAV data
void SDL_FreeWAV(Uint8 *audio_buf);
After a WAVE file has been opened with SDL_LoadWAV its data can eventually be freed with SDL_FreeWAV. audio_buf is a pointer to the buffer created by SDL_LoadWAV.