diff options
author | Paul Gilbert | 2009-10-09 10:32:33 +0000 |
---|---|---|
committer | Paul Gilbert | 2009-10-09 10:32:33 +0000 |
commit | 857a35f7485b5594c280c0c597b3a876900e8aba (patch) | |
tree | 19d70ca5d26e36fc55aef926ca4bbe9e171b8fb6 /engines/cruise/background.cpp | |
parent | 8549e48707fda26046a104eee851a4172689fcc1 (diff) | |
download | scummvm-rg350-857a35f7485b5594c280c0c597b3a876900e8aba.tar.gz scummvm-rg350-857a35f7485b5594c280c0c597b3a876900e8aba.tar.bz2 scummvm-rg350-857a35f7485b5594c280c0c597b3a876900e8aba.zip |
Fixed all memory leaks as far as the initial title screen
svn-id: r44814
Diffstat (limited to 'engines/cruise/background.cpp')
-rw-r--r-- | engines/cruise/background.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/cruise/background.cpp b/engines/cruise/background.cpp index cd4e64384b..e8f0865270 100644 --- a/engines/cruise/background.cpp +++ b/engines/cruise/background.cpp @@ -208,6 +208,7 @@ int loadBackground(const char *name, int idx) { loadCVT(&ptr2); } + MemFree(ptrToFree); if (name != backgroundTable[idx].name) strcpy(backgroundTable[idx].name, name); |