diff options
| author | Ray <[email protected]> | 2021-03-02 02:03:52 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-03-02 02:03:52 +0100 |
| commit | 01b3c97c42d366522a7e82fab2b0ac47e350ee77 (patch) | |
| tree | 43d86ca197620c489eb8e58039f29f09bc25a139 /src/core.c | |
| parent | 8df56c5843778fa9061a51e4f1f5888192fc0c1b (diff) | |
| download | raylib-01b3c97c42d366522a7e82fab2b0ac47e350ee77.tar.gz raylib-01b3c97c42d366522a7e82fab2b0ac47e350ee77.zip | |
Some misc tweaks
Diffstat (limited to 'src/core.c')
| -rw-r--r-- | src/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |
