aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2014-01-06 20:55:17 +0100
committerWillem Jan Palenstijn2014-01-06 21:37:31 +0100
commit34f300b3d5a3527c5d155a215a462560901d46cc (patch)
tree94e506a44f5d76d748fc172c969d0db1641fff87 /engines
parent3f387c12dc6fff6f9b5445998b3707628509977d (diff)
downloadscummvm-rg350-34f300b3d5a3527c5d155a215a462560901d46cc.tar.gz
scummvm-rg350-34f300b3d5a3527c5d155a215a462560901d46cc.tar.bz2
scummvm-rg350-34f300b3d5a3527c5d155a215a462560901d46cc.zip
SCI: Fix memory leak
Thanks to digitall for testing.
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/sound/music.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/sound/music.cpp b/engines/sci/sound/music.cpp
index 1b8aa55460..f46c1dfbb0 100644
--- a/engines/sci/sound/music.cpp
+++ b/engines/sci/sound/music.cpp
@@ -1044,6 +1044,8 @@ void SciMusic::remapChannels() {
if (!_channelMap[i]._song)
resetDeviceChannel(i);
}
+
+ delete map;
}