Explorar o código

Fixed memory leak in memory leak tracking

Sam Lantinga hai 6 meses
pai
achega
99336ea378
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);
 }