aboutsummaryrefslogtreecommitdiff
path: root/tools/skycpt
diff options
context:
space:
mode:
Diffstat (limited to 'tools/skycpt')
-rw-r--r--tools/skycpt/cptcompiler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/skycpt/cptcompiler.cpp b/tools/skycpt/cptcompiler.cpp
index cac009a662..ec9f185a85 100644
--- a/tools/skycpt/cptcompiler.cpp
+++ b/tools/skycpt/cptcompiler.cpp
@@ -524,6 +524,7 @@ void doCompile(FILE *inf, FILE *debOutf, FILE *resOutf, TextFile *cptDef, FILE *
fwrite(diff, 2, 2 * diffPos, debOutf);
printf("diff v0.0%03d: 2 * 2 * %d\n", gameVers[cnt], diffPos);
}
+ free(buf288);
} else {
printf("Creating CPT file with Dummy reset data @ %ld\n", ftell(debOutf));
uint16 resetFields16 = 4;