ansilove

ANSI and ASCII art to PNG converter in C
Log | Files | Refs | README | LICENSE

commit 1b594dd8ed72ec6a09fc93025bfb757987ec05d1
parent a63f92c5daebcfc382db3fbb1fe4ad26c8be8bab
Author: Frederic Cambus <fred@statdns.com>
Date:   Wed,  7 Dec 2016 23:51:41 +0100

Free font data where appropriate

Diffstat:
Msrc/loaders/artworx.c | 2++
Msrc/loaders/icedraw.c | 2++
Msrc/loaders/xbin.c | 2++
3 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/loaders/artworx.c b/src/loaders/artworx.c @@ -104,5 +104,7 @@ void artworx(unsigned char *inputFileBuffer, int32_t inputFileSize, char *output } // nuke garbage + free(font_data_adf); + gdImageDestroy(im_ADF); } diff --git a/src/loaders/icedraw.c b/src/loaders/icedraw.c @@ -161,5 +161,7 @@ void icedraw(unsigned char *inputFileBuffer, int32_t inputFileSize, char *output } // nuke garbage + free (font_data_idf); + gdImageDestroy(im_IDF); } diff --git a/src/loaders/xbin.c b/src/loaders/xbin.c @@ -209,5 +209,7 @@ void xbin(unsigned char *inputFileBuffer, int32_t inputFileSize, char *output, c } // nuke garbage + free(font_data_xbin); + gdImageDestroy(im_XBIN); }