aboutsummaryrefslogtreecommitdiff
path: root/zetsubou/main.c
diff options
context:
space:
mode:
authorAlex Marshall <SquidMan72@gmail.com>2009-05-19 23:41:18 -0700
committerAlex Marshall <SquidMan72@gmail.com>2009-05-19 23:41:18 -0700
commit7b7ef5bf8882efe5d92b33fb308bdbba3e7aa00f (patch)
tree3781585c7fb5da227b0eb0d47fbaa402bc930ab9 /zetsubou/main.c
parent8b02fef94e84e5e9d5c17589195dabfe4e8d5ab6 (diff)
Should be last fix for RGBA8
Diffstat (limited to 'zetsubou/main.c')
-rw-r--r--zetsubou/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/zetsubou/main.c b/zetsubou/main.c
index cd410bf..f15d00c 100644
--- a/zetsubou/main.c
+++ b/zetsubou/main.c
@@ -25,7 +25,7 @@ void bad_args(char progname[])
int main(int argc, char *argv[])
{
- printf("Zetsubou v0.1. Written by SquidMan (Alex Marshall)\nFormat information from YAGCD. RGB5A3 code by booto. CMP code by segher.\nBased off of gentpl by comex.\n\n");
+ printf("Zetsubou v0.1. Written by SquidMan (Alex Marshall)\nFormat information from YAGCD. RGB5A3 code by booto. CMP code by segher.\nLightly based off of gentpl by comex.\n\n");
if(argc < 3)
bad_args(argv[0]);
char type = toupper(argv[1][0]);
@@ -56,6 +56,7 @@ int main(int argc, char *argv[])
else
bad_args(argv[0]);
ret = TPL_ConvertToGD(tplbuf, tplsize, basename, outfmt);
+ free(tplbuf);
free(basename);
if(ret < 0) {
printf("Error converting from TPL.\n");