Commit 2004aaf3bbbcd54f9b188d0421e253dcde6211bc

Sylvain 2021-11-22T16:54:17

SDL_wave: use SDL_free

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/audio/SDL_wave.c b/src/audio/SDL_wave.c
index bf9fb54..49c8e86 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