diff options
author | Christopher Page | 2008-06-06 16:40:39 +0000 |
---|---|---|
committer | Christopher Page | 2008-06-06 16:40:39 +0000 |
commit | 0f41f1ccf4cbadedc63576af55249b142b833145 (patch) | |
tree | bab71baacc20663eb3b17473ce92f2350e8d8d4f | |
parent | a98a350d14ae8731469f9c551477138c02a37032 (diff) | |
download | scummvm-rg350-0f41f1ccf4cbadedc63576af55249b142b833145.tar.gz scummvm-rg350-0f41f1ccf4cbadedc63576af55249b142b833145.tar.bz2 scummvm-rg350-0f41f1ccf4cbadedc63576af55249b142b833145.zip |
SKY: Fixed a memory leak in SKY engine
svn-id: r32578
-rw-r--r-- | engines/sky/music/adlibmusic.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sky/music/adlibmusic.cpp b/engines/sky/music/adlibmusic.cpp index 7c2b262d82..4434f4cd68 100644 --- a/engines/sky/music/adlibmusic.cpp +++ b/engines/sky/music/adlibmusic.cpp @@ -47,6 +47,7 @@ AdlibMusic::AdlibMusic(Audio::Mixer *pMixer, Disk *pDisk) AdlibMusic::~AdlibMusic(void) { + OPLDestroy(_opl); _mixer->stopHandle(_soundHandle); } |