Remove/Rename SDL_FreeWAV() to SDL_free()

This commit is contained in:
Sylvain
2022-12-27 13:22:43 +01:00
committed by Sam Lantinga
parent 29ba5f5d64
commit 3fb0c8b54a
13 changed files with 28 additions and 44 deletions

View File

@@ -2124,11 +2124,3 @@ SDL_LoadWAV_RW(SDL_RWops *src, int freesrc, SDL_AudioSpec *spec, Uint8 **audio_b
return spec;
}
/* Since the WAV memory is allocated in the shared library, it must also
be freed here. (Necessary under Win32, VC++)
*/
void SDL_FreeWAV(Uint8 *audio_buf)
{
SDL_free(audio_buf);
}