mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-02 12:19:17 -05:00
Update rexm.c
This commit is contained in:
@ -1025,7 +1025,7 @@ static rlExampleInfo *LoadExamplesData(const char *fileName, const char *categor
|
|||||||
if (text != NULL)
|
if (text != NULL)
|
||||||
{
|
{
|
||||||
int lineCount = 0;
|
int lineCount = 0;
|
||||||
const char **lines = LoadTextLines(text, &lineCount);
|
char **lines = LoadTextLines(text, &lineCount);
|
||||||
|
|
||||||
for (int i = 0; i < lineCount; i++)
|
for (int i = 0; i < lineCount; i++)
|
||||||
{
|
{
|
||||||
@ -1058,6 +1058,7 @@ static rlExampleInfo *LoadExamplesData(const char *fileName, const char *categor
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UnloadTextLines(lines);
|
||||||
UnloadFileText(text);
|
UnloadFileText(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user