aboutsummaryrefslogtreecommitdiff
path: root/engines/director/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/director/sound.cpp')
-rw-r--r--engines/director/sound.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/director/sound.cpp b/engines/director/sound.cpp
index 5f6d435392..d6c78a51ea 100644
--- a/engines/director/sound.cpp
+++ b/engines/director/sound.cpp
@@ -36,6 +36,12 @@ DirectorSound::DirectorSound() {
_mixer = g_system->getMixer();
}
+DirectorSound::~DirectorSound() {
+ delete _sound1;
+ delete _sound2;
+ delete _scriptSound;
+}
+
void DirectorSound::playWAV(Common::String filename, uint8 soundChannel) {
Common::File *file = new Common::File();