diff options
author | Christopher Page | 2008-06-12 18:11:09 +0000 |
---|---|---|
committer | Christopher Page | 2008-06-12 18:11:09 +0000 |
commit | a596879c8ead93bc3dd8e812103d78819dd2a81a (patch) | |
tree | c58f863be3306dee8e5222e93dba4105c7851626 /engines/lure/lure.cpp | |
parent | dd423f803b43a0e6c54c3d7441c40cb7737d7867 (diff) | |
download | scummvm-rg350-a596879c8ead93bc3dd8e812103d78819dd2a81a.tar.gz scummvm-rg350-a596879c8ead93bc3dd8e812103d78819dd2a81a.tar.bz2 scummvm-rg350-a596879c8ead93bc3dd8e812103d78819dd2a81a.zip |
LURE: Fixed memory leaks in the LURE engine
svn-id: r32675
Diffstat (limited to 'engines/lure/lure.cpp')
-rw-r--r-- | engines/lure/lure.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/engines/lure/lure.cpp b/engines/lure/lure.cpp index fa6323af07..ea760ddb4f 100644 --- a/engines/lure/lure.cpp +++ b/engines/lure/lure.cpp @@ -103,6 +103,7 @@ LureEngine::~LureEngine() { if (_initialised) { // Delete and deinitialise subsystems Surface::deinitialise(); + Sound.destroy(); delete _fights; delete _room; delete _menu; @@ -164,14 +165,6 @@ void LureEngine::pauseEngineIntern(bool pause) { } } -/* This is not being used - -void LureEngine::quitGame() { - _system->quit(); -} - -*/ - const char *LureEngine::generateSaveName(int slotNumber) { static char buffer[15]; |