mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 16:35:20 +00:00
AGI: Use delete[] instead of delete for arrays
This commit is contained in:
parent
506f3bdc10
commit
40394431dc
@ -62,8 +62,8 @@ SoundGen2GS::SoundGen2GS(AgiEngine *vm, Audio::Mixer *pMixer) : SoundGen(vm, pMi
|
||||
|
||||
SoundGen2GS::~SoundGen2GS() {
|
||||
_mixer->stopHandle(_soundHandle);
|
||||
delete _wavetable;
|
||||
delete _out;
|
||||
delete[] _wavetable;
|
||||
delete[] _out;
|
||||
}
|
||||
|
||||
int SoundGen2GS::readBuffer(int16 *buffer, const int numSamples) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user