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

I shouldn't be allowed near computers, I swear.
This commit is contained in:
Ryan C. Gordon 2022-04-27 12:22:37 -04:00
parent 31e83cd14c
commit 0f45a4e303
No known key found for this signature in database
GPG key ID: FA148B892AB48044

View file

@ -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__)