mirror of https://github.com/encounter/SDL.git
log: Don't try to SDL_free the static array. :)
I shouldn't be allowed near computers, I swear.
This commit is contained in:
parent
31e83cd14c
commit
0f45a4e303
|
@ -327,8 +327,6 @@ SDL_LogMessageV(int category, SDL_LogPriority priority, const char *fmt, va_list
|
||||||
if (log_function_mutex) {
|
if (log_function_mutex) {
|
||||||
SDL_UnlockMutex(log_function_mutex);
|
SDL_UnlockMutex(log_function_mutex);
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_free(message);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__WIN32__) && !defined(HAVE_STDIO_H) && !defined(__WINRT__)
|
#if defined(__WIN32__) && !defined(HAVE_STDIO_H) && !defined(__WINRT__)
|
||||||
|
|
Loading…
Reference in New Issue