aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorathrxx2012-01-15 13:27:52 +0100
committerathrxx2012-01-15 13:36:58 +0100
commitea275d2cdad5d776271ecba81d16f86447a7e953 (patch)
tree2c6f0870dbfdb772de00f49dca3b144b9c8f67f1
parentd355c536c4d3dea4ff61288d8ac85ab071451825 (diff)
downloadscummvm-rg350-ea275d2cdad5d776271ecba81d16f86447a7e953.tar.gz
scummvm-rg350-ea275d2cdad5d776271ecba81d16f86447a7e953.tar.bz2
scummvm-rg350-ea275d2cdad5d776271ecba81d16f86447a7e953.zip
SCUMM: add missing free()
-rw-r--r--engines/scumm/sound.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/scumm/sound.cpp b/engines/scumm/sound.cpp
index f058ef1a2c..1dc026ad52 100644
--- a/engines/scumm/sound.cpp
+++ b/engines/scumm/sound.cpp
@@ -94,6 +94,7 @@ Sound::Sound(ScummEngine *parent, Audio::Mixer *mixer)
Sound::~Sound() {
stopCDTimer();
g_system->getAudioCDManager()->stop();
+ free(_offsetTable);
}
void Sound::addSoundToQueue(int sound, int heOffset, int heChannel, int heFlags) {