mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 15:48:48 +00:00
Cleanup
svn-id: r50949
This commit is contained in:
parent
4a52413a46
commit
17dcf79936
@ -597,21 +597,15 @@ Towns_EuphonyDriver::~Towns_EuphonyDriver() {
|
||||
|
||||
MidiDriver_YM2612::removeLookupTables();
|
||||
|
||||
if (_fmInstruments) {
|
||||
delete[] _fmInstruments;
|
||||
_fmInstruments = 0;
|
||||
}
|
||||
delete[] _fmInstruments;
|
||||
_fmInstruments = 0;
|
||||
|
||||
if (_waveInstruments) {
|
||||
delete[] _waveInstruments;
|
||||
_waveInstruments = 0;
|
||||
}
|
||||
delete[] _waveInstruments;
|
||||
_waveInstruments = 0;
|
||||
|
||||
for (int i = 0; i < 10; i++) {
|
||||
if (_waveSounds[i]) {
|
||||
delete[] _waveSounds[i];
|
||||
_waveSounds[i] = 0;
|
||||
}
|
||||
delete[] _waveSounds[i];
|
||||
_waveSounds[i] = 0;
|
||||
}
|
||||
|
||||
if (_queue) {
|
||||
|
Loading…
Reference in New Issue
Block a user