diff options
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/player_towns.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/engines/scumm/player_towns.cpp b/engines/scumm/player_towns.cpp index 15b2f65797..e71a8d0587 100644 --- a/engines/scumm/player_towns.cpp +++ b/engines/scumm/player_towns.cpp @@ -581,15 +581,12 @@ Player_Towns_v2::Player_Towns_v2(ScummEngine *vm, Audio::Mixer *mixer, IMuse *im } Player_Towns_v2::~Player_Towns_v2() { - // Avoid lockup in imuse.cpp, line 78 - _intf->lockInternal(); - if (_imuseDispose) - delete _imuse; - _intf->unlockInternal(); - delete _intf; _intf = 0; + if (_imuseDispose) + delete _imuse; + delete[] _sblData; delete[] _soundOverride; } |