From 8b02fef94e84e5e9d5c17589195dabfe4e8d5ab6 Mon Sep 17 00:00:00 2001 From: Alex Marshall Date: Tue, 19 May 2009 23:34:01 -0700 Subject: Even more Zetsubou fixes. --- zetsubou/tpl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'zetsubou/tpl.c') diff --git a/zetsubou/tpl.c b/zetsubou/tpl.c index 874db87..535e0ff 100644 --- a/zetsubou/tpl.c +++ b/zetsubou/tpl.c @@ -819,6 +819,7 @@ int TPL_ConvertToGD(u8* tplbuf, u32 tplsize, char basename[], u32 format) fwrite(&h.unpacked, 1, 1, tplmeta); fclose(tplmeta); } + free(outname); return 0; } @@ -1132,6 +1133,7 @@ int TPL_ConvertToBMP(u8* tplbuf, u32 tplsize, char basename[]) fwrite(&h.unpacked, 1, 1, out); fclose(out); } + free(outname); return 0; } -- cgit v1.3.1