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

@@ -194,7 +194,7 @@ int main(int argc, char *argv[])
/* Clean up on signal */
/* Quit audio first, then free WAV. This prevents access violations in the audio threads. */
SDL_QuitSubSystem(SDL_INIT_AUDIO);
SDL_FreeWAV(sound);
SDL_free(sound);
SDL_free(filename);
SDL_Quit();
return 0;