diff options
author | Christopher Page | 2008-06-12 19:43:54 +0000 |
---|---|---|
committer | Christopher Page | 2008-06-12 19:43:54 +0000 |
commit | 45525e7d187572d876636a8f82c57d768912d000 (patch) | |
tree | d45e95f2e1fbef712d8276d2b60ba536c2900ab0 | |
parent | ad99e9b24989719b0da35e4162ea57982fd89a0a (diff) | |
download | scummvm-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
-rw-r--r-- | engines/scumm/sound.cpp | 1 |
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; } |