Explorar el Código

Fixed memory leak in memory leak tracking

(cherry picked from commit 99336ea378b9b35a2fa83de7766d8fbe76d470b5)
Sam Lantinga hace 1 año
padre
commit
fe97cff7d1
Se han modificado 1 ficheros con 1 adiciones y 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
 #undef ADD_LINE
 
 
     SDL_Log("%s", message);
     SDL_Log("%s", message);
+    SDL_free_orig(message);
 }
 }