aboutsummaryrefslogtreecommitdiff
path: root/zetsubou/tpl.c
diff options
context:
space:
mode:
authorAlex Marshall <SquidMan72@gmail.com>2009-05-19 23:34:01 -0700
committerAlex Marshall <SquidMan72@gmail.com>2009-05-19 23:34:01 -0700
commit8b02fef94e84e5e9d5c17589195dabfe4e8d5ab6 (patch)
tree95770b7c5f486e60a9484fb9da87c1700ed5372b /zetsubou/tpl.c
parentadf6d6243b2112f8fb0b6124205cd438688d59bd (diff)
Even more Zetsubou fixes.
Diffstat (limited to '')
-rw-r--r--zetsubou/tpl.c2
1 files changed, 2 insertions, 0 deletions
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;
}