aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
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()