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
parent
commit
a12cafe84d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/text.c

+ 1
- 0
src/text.c 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);
}

Loading…
Cancel
Save