From 902e02d05eba051dc3b0f247b4da0f9e9d81331d Mon Sep 17 00:00:00 2001 From: Alex Marshall Date: Tue, 19 May 2009 23:55:46 -0700 Subject: Ok, this should be the final test for reals. --- zetsubou/tpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zetsubou/tpl.c b/zetsubou/tpl.c index 7bf647a..98c9819 100644 --- a/zetsubou/tpl.c +++ b/zetsubou/tpl.c @@ -819,7 +819,7 @@ int TPL_ConvertToGD(u8* tplbuf, u32 tplsize, char basename[], u32 format) fwrite(&h.unpacked, 1, 1, tplmeta); fclose(tplmeta); free(bitmapdata); - free(im); + gdImageDestroy(im); } free(outname); return 0; -- cgit v1.3.1