diff --git a/src/audio/SDL_wave.c b/src/audio/SDL_wave.c index bf9fb542b..49c8e862b 100644 --- a/src/audio/SDL_wave.c +++ b/src/audio/SDL_wave.c @@ -313,7 +313,7 @@ WaveDebugDumpFormat(WaveFile *file, Uint32 rifflen, Uint32 fmtlen, Uint32 datale SDL_LogDebug(SDL_LOG_CATEGORY_AUDIO, "%s", dumpstr); - free(dumpstr); + SDL_free(dumpstr); } #endif