소스 검색
Merge pull request #659 from noshbar/text-memory-leak
Fixes memory leak in text.c
pull/661/head
Ray
7 년 전
committed by
GitHub
No known key found for this signature in database
GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일과
1개의 추가작업 그리고
0개의 파일을 삭제
-
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); |
|
|
|
} |
|
|
|
|