aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorathrxx2011-11-08 20:30:26 +0100
committerJohannes Schickel2011-12-26 16:18:09 +0100
commitf2a1ff3f7842757d369db23652b39ed3f2a22144 (patch)
tree8a6f9dc9369de1791bc066a7b27fecc2ad3acb76 /engines
parent77a81a80b4157acd7e8e580c2648ec3b3ef6bc64 (diff)
downloadscummvm-rg350-f2a1ff3f7842757d369db23652b39ed3f2a22144.tar.gz
scummvm-rg350-f2a1ff3f7842757d369db23652b39ed3f2a22144.tar.bz2
scummvm-rg350-f2a1ff3f7842757d369db23652b39ed3f2a22144.zip
KYRA: (AdLib Driver) - fix invalid memory write issue
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/sound_adlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/sound_adlib.cpp b/engines/kyra/sound_adlib.cpp
index c31cf809ee..9e47367138 100644
--- a/engines/kyra/sound_adlib.cpp
+++ b/engines/kyra/sound_adlib.cpp
@@ -524,7 +524,7 @@ void AdLibDriver::setSoundData(uint8 *data) {
if (_soundData) {
delete[] _soundData;
- _soundData = 0;
+ _soundData = _sfxPointer = 0;
}
_soundData = data;