summaryrefslogtreecommitdiffhomepage
path: root/src/core.c
diff options
context:
space:
mode:
authorRay <[email protected]>2021-03-02 02:03:52 +0100
committerRay <[email protected]>2021-03-02 02:03:52 +0100
commit01b3c97c42d366522a7e82fab2b0ac47e350ee77 (patch)
tree43d86ca197620c489eb8e58039f29f09bc25a139 /src/core.c
parent8df56c5843778fa9061a51e4f1f5888192fc0c1b (diff)
downloadraylib-01b3c97c42d366522a7e82fab2b0ac47e350ee77.tar.gz
raylib-01b3c97c42d366522a7e82fab2b0ac47e350ee77.zip
Some misc tweaks
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core.c b/src/core.c
index d55bcf3d..8ac725e2 100644
--- a/src/core.c
+++ b/src/core.c
@@ -3879,7 +3879,7 @@ static bool InitGraphicsDevice(int width, int height)
TRACELOG(LOG_TRACE, "DISPLAY: EGL configs available: %d", numConfigs);
- EGLConfig *configs = calloc(numConfigs, sizeof(*configs));
+ EGLConfig *configs = RL_CALLOC(numConfigs, sizeof(*configs));
if (!configs)
{
TRACELOG(LOG_WARNING, "DISPLAY: Failed to get memory for EGL configs");
@@ -3916,7 +3916,7 @@ static bool InitGraphicsDevice(int width, int height)
}
}
- free(configs);
+ RL_FREE(configs);
if (!found)
{