diff options
author | Max Horn | 2003-07-04 13:16:48 +0000 |
---|---|---|
committer | Max Horn | 2003-07-04 13:16:48 +0000 |
commit | 85c467c6a0185cc8aa6eea2fa9182ef9fd92b335 (patch) | |
tree | c6d45559a26b19d943b633d24f7779782e1e2384 /backends/midi/adlib.cpp | |
parent | 470b406587d21fc7322c36424da046497af5c8de (diff) | |
download | scummvm-rg350-85c467c6a0185cc8aa6eea2fa9182ef9fd92b335.tar.gz scummvm-rg350-85c467c6a0185cc8aa6eea2fa9182ef9fd92b335.tar.bz2 scummvm-rg350-85c467c6a0185cc8aa6eea2fa9182ef9fd92b335.zip |
fixed two leaks
svn-id: r8739
Diffstat (limited to 'backends/midi/adlib.cpp')
-rw-r--r-- | backends/midi/adlib.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/midi/adlib.cpp b/backends/midi/adlib.cpp index 39349a6220..b89d09c2b2 100644 --- a/backends/midi/adlib.cpp +++ b/backends/midi/adlib.cpp @@ -877,6 +877,8 @@ void MidiDriver_ADLIB::close() { // Turn off the OPL emulation YM3812Shutdown(); + + free(_adlib_reg_cache); _isOpen = false; } |