mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-03 23:52:41 +00:00
MADS: Fix crash at end of copy protection failure cutscene
This commit is contained in:
parent
4e852a691b
commit
d159320571
@ -216,6 +216,8 @@ ASound::ASound(Audio::Mixer *mixer, OPL::OPL *opl, const Common::String &filenam
|
||||
}
|
||||
|
||||
ASound::~ASound() {
|
||||
_opl->stop();
|
||||
|
||||
Common::List<CachedDataEntry>::iterator i;
|
||||
for (i = _dataCache.begin(); i != _dataCache.end(); ++i)
|
||||
delete[] (*i)._data;
|
||||
|
Loading…
Reference in New Issue
Block a user