Forráskód Böngészése

log: Don't try to SDL_free the static array. :)

I shouldn't be allowed near computers, I swear.
Ryan C. Gordon 3 éve
szülő
commit
0f45a4e303
1 módosított fájl, 0 hozzáadás és 2 törlés
  1. 0 2
      src/SDL_log.c

+ 0 - 2
src/SDL_log.c

@@ -327,8 +327,6 @@ SDL_LogMessageV(int category, SDL_LogPriority priority, const char *fmt, va_list
     if (log_function_mutex) {
         SDL_UnlockMutex(log_function_mutex);
     }
-
-    SDL_free(message);
 }
 
 #if defined(__WIN32__) && !defined(HAVE_STDIO_H) && !defined(__WINRT__)