mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-14 13:56:01 +00:00
Merge pull request #659 from noshbar/text-memory-leak
Fixes memory leak in text.c
This commit is contained in:
@@ -527,6 +527,7 @@ Image GenImageFontAtlas(CharInfo *chars, int charsCount, int fontSize, int paddi
|
||||
else TraceLog(LOG_WARNING, "Character could not be packed: %i", i);
|
||||
}
|
||||
|
||||
free(rects);
|
||||
free(nodes);
|
||||
free(context);
|
||||
}
|
||||
|
Reference in New Issue
Block a user