diff options
Diffstat (limited to '')
| -rw-r--r-- | zetsubou/tpl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
