Browse Source

Fixed memory leak in memory leak tracking

(cherry picked from commit 99336ea378b9b35a2fa83de7766d8fbe76d470b5)
Sam Lantinga 1 month ago
parent
commit
fe97cff7d1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/test/SDL_test_memory.c

+ 1 - 0
src/test/SDL_test_memory.c

@@ -454,4 +454,5 @@ void SDLTest_LogAllocations(void)
 #undef ADD_LINE
 
     SDL_Log("%s", message);
+    SDL_free_orig(message);
 }