aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth
diff options
context:
space:
mode:
authorMax Horn2008-03-26 19:29:33 +0000
committerMax Horn2008-03-26 19:29:33 +0000
commitb0c6a12c81c949c7f61b6639b509dad2b4fbb862 (patch)
treea20a4c62707dee6bad3a45fc2b3409d86c7377ce /sound/softsynth
parentafed582280195bc0165e93af7003aadea6438c89 (diff)
downloadscummvm-rg350-b0c6a12c81c949c7f61b6639b509dad2b4fbb862.tar.gz
scummvm-rg350-b0c6a12c81c949c7f61b6639b509dad2b4fbb862.tar.bz2
scummvm-rg350-b0c6a12c81c949c7f61b6639b509dad2b4fbb862.zip
Modified Patch #1925352: Memory leak fixes
svn-id: r31244
Diffstat (limited to 'sound/softsynth')
-rw-r--r--sound/softsynth/adlib.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/softsynth/adlib.cpp b/sound/softsynth/adlib.cpp
index 90f411b1df..1cf4c2b179 100644
--- a/sound/softsynth/adlib.cpp
+++ b/sound/softsynth/adlib.cpp
@@ -871,6 +871,7 @@ void MidiDriver_ADLIB::close() {
}
// Turn off the OPL emulation
+ OPLDestroy(_opl);
// YM3812Shutdown();
free(_adlib_reg_cache);