Merge pull request #659 from noshbar/text-memory-leak

Fixes memory leak in text.c
This commit is contained in:
Ray 2018-10-11 00:21:25 +02:00 committed by GitHub
commit a12cafe84d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}