diff options
-rw-r--r-- | engines/kyra/sound_towns.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/kyra/sound_towns.cpp b/engines/kyra/sound_towns.cpp index af741a1ebe..e4752f33de 100644 --- a/engines/kyra/sound_towns.cpp +++ b/engines/kyra/sound_towns.cpp @@ -225,6 +225,7 @@ void SoundTowns::playSoundEffect(uint8 track, uint8) { _driver->chanPanPos(_sfxChannel, 0x40); _driver->chanPitch(_sfxChannel, 0); _driver->playSoundEffect(_sfxChannel, note, 127, sfxPlaybackBuffer); + delete[] sfxPlaybackBuffer; } void SoundTowns::updateVolumeSettings() { |