diff options
author | Jussi Pitkanen | 2011-04-12 18:22:24 +0300 |
---|---|---|
committer | Jussi Pitkanen | 2011-04-12 18:22:24 +0300 |
commit | 40394431dc57d0852e4c3ad618538f242f263edc (patch) | |
tree | d2901cb239a4d477ae6eb64f582057d0f33cb5a8 /engines/agi | |
parent | 506f3bdc101b301e93a99fc4626701b32b4f66b3 (diff) | |
download | scummvm-rg350-40394431dc57d0852e4c3ad618538f242f263edc.tar.gz scummvm-rg350-40394431dc57d0852e4c3ad618538f242f263edc.tar.bz2 scummvm-rg350-40394431dc57d0852e4c3ad618538f242f263edc.zip |
AGI: Use delete[] instead of delete for arrays
Diffstat (limited to 'engines/agi')
-rw-r--r-- | engines/agi/sound_2gs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/sound_2gs.cpp b/engines/agi/sound_2gs.cpp index 71cc2d4183..f725b273d4 100644 --- a/engines/agi/sound_2gs.cpp +++ b/engines/agi/sound_2gs.cpp @@ -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) { |