aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorChristopher Page2008-06-12 19:43:54 +0000
committerChristopher Page2008-06-12 19:43:54 +0000
commit45525e7d187572d876636a8f82c57d768912d000 (patch)
treed45e95f2e1fbef712d8276d2b60ba536c2900ab0 /engines
parentad99e9b24989719b0da35e4162ea57982fd89a0a (diff)
downloadscummvm-rg350-45525e7d187572d876636a8f82c57d768912d000.tar.gz
scummvm-rg350-45525e7d187572d876636a8f82c57d768912d000.tar.bz2
scummvm-rg350-45525e7d187572d876636a8f82c57d768912d000.zip
SCUMM: Fixed a memory leak in the SCUMM engine
svn-id: r32680
Diffstat (limited to 'engines')
-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 fdd0598378..7500b16c87 100644
--- a/engines/scumm/sound.cpp
+++ b/engines/scumm/sound.cpp
@@ -89,6 +89,7 @@ Sound::Sound(ScummEngine *parent, Audio::Mixer *mixer)
Sound::~Sound() {
stopCDTimer();
+ AudioCD.destroy();
delete _sfxFile;
}