mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 12:09:15 +00:00
fixed two leaks
svn-id: r8739
This commit is contained in:
parent
470b406587
commit
85c467c6a0
@ -877,6 +877,8 @@ void MidiDriver_ADLIB::close() {
|
||||
|
||||
// Turn off the OPL emulation
|
||||
YM3812Shutdown();
|
||||
|
||||
free(_adlib_reg_cache);
|
||||
|
||||
_isOpen = false;
|
||||
}
|
||||
|
@ -52,6 +52,7 @@ public:
|
||||
};
|
||||
|
||||
Instrument() : _type (0), _instrument (0) { }
|
||||
~Instrument() { delete _instrument; }
|
||||
static void nativeMT32 (bool native);
|
||||
|
||||
void clear();
|
||||
|
Loading…
Reference in New Issue
Block a user