diff options
| author | Sven Hesse | 2008-05-22 14:25:27 +0000 |
|---|---|---|
| committer | Sven Hesse | 2008-05-22 14:25:27 +0000 |
| commit | a70d37009a097a988992e3ba924b595c6d1289e5 (patch) | |
| tree | dae9b57a1cbb9a766b4f8adefd38990d79aeef7d | |
| parent | abe87559bc6e70376ccd4d0565a9976966d77a3f (diff) | |
| download | scummvm-rg350-a70d37009a097a988992e3ba924b595c6d1289e5.tar.gz scummvm-rg350-a70d37009a097a988992e3ba924b595c6d1289e5.tar.bz2 scummvm-rg350-a70d37009a097a988992e3ba924b595c6d1289e5.zip | |
Correctly delete'ing CDROM and Backgroundatmosphere, fixing segfaults on machines slower than mine (thanks, LordHoto ;))
svn-id: r32210
| -rw-r--r-- | engines/gob/sound/sound.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/gob/sound/sound.cpp b/engines/gob/sound/sound.cpp index 79fe5acb56..a90afe0e27 100644 --- a/engines/gob/sound/sound.cpp +++ b/engines/gob/sound/sound.cpp @@ -56,6 +56,8 @@ Sound::~Sound() { delete _blaster; delete _adlib; delete _infogrames; + delete _cdrom; + delete _bgatmos; for (int i = 0; i < kSoundsCount; i++) _sounds[i].free(); |
