diff options
author | James Brown | 2003-01-18 16:02:25 +0000 |
---|---|---|
committer | James Brown | 2003-01-18 16:02:25 +0000 |
commit | c1ce0e1eceb12ecac8ec0f8bdb247e5b6d44a126 (patch) | |
tree | 54be87bb4d86575a804432c0cd36d75efacb51a3 /scumm/bundle.cpp | |
parent | 97ff115e7d8d53e1ef3a8cc5c0fb60693a13d11e (diff) | |
download | scummvm-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/bundle.cpp')
-rw-r--r-- | scumm/bundle.cpp | 7 |
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() |