aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock
diff options
context:
space:
mode:
authorPaul Gilbert2015-11-23 20:11:20 -0500
committerPaul Gilbert2015-11-23 20:11:20 -0500
commit5137d0d3f928d0a8951f34dbe0e0108cf06b2e51 (patch)
tree3281a1d2ae15ed5134da2068f20aca33e76f47d4 /engines/sherlock
parentf840eaf736cf3a986abf1b19c1358df4ef219660 (diff)
downloadscummvm-rg350-5137d0d3f928d0a8951f34dbe0e0108cf06b2e51.tar.gz
scummvm-rg350-5137d0d3f928d0a8951f34dbe0e0108cf06b2e51.tar.bz2
scummvm-rg350-5137d0d3f928d0a8951f34dbe0e0108cf06b2e51.zip
SHERLOCK: SS: Fix exit crash in Sherlock playable demo
Diffstat (limited to 'engines/sherlock')
-rw-r--r--engines/sherlock/music.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/sherlock/music.cpp b/engines/sherlock/music.cpp
index 8b8f359de3..43b7275f2d 100644
--- a/engines/sherlock/music.cpp
+++ b/engines/sherlock/music.cpp
@@ -518,7 +518,6 @@ void Music::freeSong() {
_midiParser->unloadMusic();
}
- delete[] _midiMusicData;
_midiMusicData = nullptr;
_musicPlaying = false;
}