aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2018-11-27 12:23:41 +0100
committerRay <raysan5@gmail.com>2018-11-27 12:23:41 +0100
commit0bf82ff6f4d0bf19b5c4ffe8e291d34903ef8f77 (patch)
tree853ab83e64a38de87fcc2fad12d8b243b03c4851 /src
parentb5c6736592d0b1f11d91122d8be11ae94240e448 (diff)
downloadraylib-0bf82ff6f4d0bf19b5c4ffe8e291d34903ef8f77.tar.gz
raylib-0bf82ff6f4d0bf19b5c4ffe8e291d34903ef8f77.zip
free memory for extList
Diffstat (limited to 'src')
-rw-r--r--src/rlgl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 7f2a1711..1308ad9d 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)