소스 검색

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

I shouldn't be allowed near computers, I swear.
Ryan C. Gordon 3 년 전
부모
커밋
0f45a4e303
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  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__)