Merge pull request #659 from noshbar/text-memory-leak
Fixes memory leak in text.c
This commit is contained in:
commit
a12cafe84d
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue