diff options
author | Paul Gilbert | 2014-08-27 22:22:33 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-08-27 22:22:33 -0400 |
commit | 35923890ccb26d958d33c6c472a1b16659718392 (patch) | |
tree | b0f07e5bb5994ef60716461895be8983cf97dd53 /engines/access/room.cpp | |
parent | c0a7852662be724077921bcf9b9bb0bf2da2dfff (diff) | |
download | scummvm-rg350-35923890ccb26d958d33c6c472a1b16659718392.tar.gz scummvm-rg350-35923890ccb26d958d33c6c472a1b16659718392.tar.bz2 scummvm-rg350-35923890ccb26d958d33c6c472a1b16659718392.zip |
ACCESS: Fix incorrect use of delete[] on Resources
Diffstat (limited to 'engines/access/room.cpp')
-rw-r--r-- | engines/access/room.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/access/room.cpp b/engines/access/room.cpp index 0c60f7b818..0de6497422 100644 --- a/engines/access/room.cpp +++ b/engines/access/room.cpp @@ -143,7 +143,7 @@ void Room::doRoom() { void Room::clearRoom() { if (_vm->_sound->_music) { _vm->_sound->stopSong(); - delete[] _vm->_sound->_music; + delete _vm->_sound->_music; _vm->_sound->_music = nullptr; } |