SDL: Fixed warning C26052: Potentially unconstrained access using expression '(signed char *)info'

From a28769759b0ed12b08028556cebe97d5d1c0d965 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 4 Dec 2023 21:33:27 -0800
Subject: [PATCH] Fixed warning C26052: Potentially unconstrained access using
 expression '(signed char *)info'

---
 src/render/opengles2/SDL_render_gles2.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/render/opengles2/SDL_render_gles2.c b/src/render/opengles2/SDL_render_gles2.c
index 1173822efad7..2e6d6fb1dce9 100644
--- a/src/render/opengles2/SDL_render_gles2.c
+++ b/src/render/opengles2/SDL_render_gles2.c
@@ -543,20 +543,19 @@ static GLuint GLES2_CacheShader(GLES2_RenderData *data, GLES2_ShaderType type, G
     }
 
     if (!compileSuccessful) {
-        SDL_bool isstack = SDL_FALSE;
         char *info = NULL;
         int length = 0;
 
         data->glGetShaderiv(id, GL_INFO_LOG_LENGTH, &length);
         if (length > 0) {
-            info = SDL_small_alloc(char, length, &isstack);
+            info = (char *)SDL_malloc(length);
             if (info) {
                 data->glGetShaderInfoLog(id, length, &length, info);
             }
         }
         if (info) {
             SDL_SetError("Failed to load the shader %d: %s", type, info);
-            SDL_small_free(info, isstack);
+            SDL_free(info);
         } else {
             SDL_SetError("Failed to load the shader %d", type);
         }