diff options
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); |