svn-id: r50949
This commit is contained in:
Torbjörn Andersson 2010-07-16 23:09:13 +00:00
parent 4a52413a46
commit 17dcf79936

View File

@ -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) {