aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound_he.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/sound_he.cpp')
-rw-r--r--scumm/sound_he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound_he.cpp b/scumm/sound_he.cpp
index 1dc1f66ebf..f654eeff95 100644
--- a/scumm/sound_he.cpp
+++ b/scumm/sound_he.cpp
@@ -404,7 +404,7 @@ void Sound::playHESound(int soundID, int heOffset, int heChannel, int heFlags) {
sound = (char *)malloc(size * 4);
size = voxStream->readBuffer((int16*)sound, size * 2);
size *= 2; // 16bits.
- delete(voxStream);
+ delete voxStream;
} else {
// Allocate a sound buffer, copy the data into it, and play
sound = (char *)malloc(size);