aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJames Brown2003-01-18 16:02:25 +0000
committerJames Brown2003-01-18 16:02:25 +0000
commitc1ce0e1eceb12ecac8ec0f8bdb247e5b6d44a126 (patch)
tree54be87bb4d86575a804432c0cd36d75efacb51a3 /scumm
parent97ff115e7d8d53e1ef3a8cc5c0fb60693a13d11e (diff)
downloadscummvm-rg350-c1ce0e1eceb12ecac8ec0f8bdb247e5b6d44a126.tar.gz
scummvm-rg350-c1ce0e1eceb12ecac8ec0f8bdb247e5b6d44a126.tar.bz2
scummvm-rg350-c1ce0e1eceb12ecac8ec0f8bdb247e5b6d44a126.zip
Init and cleanup compression tables
svn-id: r6500
Diffstat (limited to 'scumm')
-rw-r--r--scumm/bundle.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/scumm/bundle.cpp b/scumm/bundle.cpp
index 3723f6309f..f35a78485f 100644
--- a/scumm/bundle.cpp
+++ b/scumm/bundle.cpp
@@ -94,10 +94,17 @@ Bundle::Bundle()
{
_lastSong = -1;
_initializedImcTables = false;
+
+ _bundleVoiceTable = NULL;
+ _bundleMusicTable = NULL;
}
Bundle::~Bundle()
{
+ if (_bundleVoiceTable)
+ free(_bundleVoiceTable);
+ if (_bundleMusicTable)
+ free(_bundleMusicTable);
}
void Bundle::initializeImcTables()