diff options
author | Max Horn | 2009-10-02 14:44:52 +0000 |
---|---|---|
committer | Max Horn | 2009-10-02 14:44:52 +0000 |
commit | 0041502ee7751ef843392cc527fa091e852fc76d (patch) | |
tree | 9682fbf735e9710967f5687030fbd061824b918e /tools/skycpt/cptcompiler.cpp | |
parent | f54e82e4880767f6e71c83840bff1ae8e0feda3d (diff) | |
download | scummvm-rg350-0041502ee7751ef843392cc527fa091e852fc76d.tar.gz scummvm-rg350-0041502ee7751ef843392cc527fa091e852fc76d.tar.bz2 scummvm-rg350-0041502ee7751ef843392cc527fa091e852fc76d.zip |
Release resources properly; fix code formatting
svn-id: r44540
Diffstat (limited to 'tools/skycpt/cptcompiler.cpp')
-rw-r--r-- | tools/skycpt/cptcompiler.cpp | 1 |
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; |