From 0bf82ff6f4d0bf19b5c4ffe8e291d34903ef8f77 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 27 Nov 2018 12:23:41 +0100 Subject: [PATCH] free memory for extList --- src/rlgl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rlgl.h b/src/rlgl.h index 7f2a1711a..1308ad9d2 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -1725,8 +1725,8 @@ void rlglInit(int width, int height) if(strcmp(extList[i], (const char *)"GL_EXT_debug_marker") == 0) debugMarkerSupported = true; } -#if defined(_MSC_VER) - //free(extList); +#if defined(_WIN32) && defined(_MSC_VER) + free(extList); #endif #if defined(GRAPHICS_API_OPENGL_ES2)