Browse Source
Merge pull request #659 from noshbar/text-memory-leak
Fixes memory leak in text.c
pull/661/head
Ray
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
src/text.c
|
|
@ -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); |
|
|
|
} |
|
|
|