From 85c467c6a0185cc8aa6eea2fa9182ef9fd92b335 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 4 Jul 2003 13:16:48 +0000 Subject: fixed two leaks svn-id: r8739 --- backends/midi/adlib.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'backends/midi') 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; } -- cgit v1.2.3