aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/mixer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index 5433032021..4d444b8626 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -36,7 +36,11 @@ SoundMixer::SoundMixer() {
}
SoundMixer::~SoundMixer() {
+ _syst->clear_sound_proc();
free(_volumeTable);
+ for (int i = 0; i != NUM_CHANNELS; i++) {
+ delete _channels[i];
+ }
}
void SoundMixer::unInsert(Channel *chan) {