Remove/Rename SDL_FreeWAV() to SDL_free()

This commit is contained in:
Sylvain authored and Sam Lantinga committed 2022-12-27 05:14:52 -08:00
1 parent 29ba5f5d64
commit 3fb0c8b54a
13 files changed
+28 -44

No files matched your search

+1 -1
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;