From 0f45a4e3036820f3ea00e4234e5a22a7f3702ed0 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Wed, 27 Apr 2022 12:22:37 -0400
Subject: [PATCH] log: Don't try to SDL_free the static array. :)
I shouldn't be allowed near computers, I swear.
---
src/SDL_log.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/SDL_log.c b/src/SDL_log.c
index db678881242..ff07c6f3759 100644
--- a/src/SDL_log.c
+++ b/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__)