From: Mikko Rasa Date: Thu, 3 May 2018 10:19:29 +0000 (+0300) Subject: Fix a memory leak X-Git-Url: http://git.tdb.fi/?p=ttf2png.git;a=commitdiff_plain;h=ef96a56a5d4a213c8f00ccfdabe64fd32a98b8f1 Fix a memory leak --- diff --git a/ttf2png.c b/ttf2png.c index d7079d5..62e56ac 100644 --- a/ttf2png.c +++ b/ttf2png.c @@ -265,6 +265,7 @@ int main(int argc, char **argv) free(font.glyphs); free(font.kerning); free(font.image.data); + free(ranges); FT_Done_Face(face); FT_Done_FreeType(freetype);