aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
authorPaul Gilbert2014-06-03 22:27:05 -0400
committerPaul Gilbert2014-06-03 22:27:05 -0400
commit72c9159043984a4219e597f5c73576450021b7f2 (patch)
treeb3911ac0d4e7572188ea38b1f14c791b6d9dbd74 /engines/mads
parentbdc44d309b77befa80cd53b446bff92818a9483e (diff)
downloadscummvm-rg350-72c9159043984a4219e597f5c73576450021b7f2.tar.gz
scummvm-rg350-72c9159043984a4219e597f5c73576450021b7f2.tar.bz2
scummvm-rg350-72c9159043984a4219e597f5c73576450021b7f2.zip
MADS: Free the audio player when the game ends
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/mads.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/mads/mads.cpp b/engines/mads/mads.cpp
index 31e9b0dbe2..59eec40bcc 100644
--- a/engines/mads/mads.cpp
+++ b/engines/mads/mads.cpp
@@ -67,6 +67,7 @@ MADSEngine::~MADSEngine() {
delete _palette;
delete _resources;
delete _sound;
+ delete _audio;
}
void MADSEngine::initialize() {