zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit b1aea115fe18b09e72455189eed326be79f5c884
parent 4af1257f1cd883d91e1fd476ae010734e53ba41c
Author: Mark McCurry <mark.d.mccurry@gmail.com>
Date:   Fri, 12 Jun 2009 12:34:30 -0400

changed delete to delete[] to match new[]

Diffstat:
Msrc/DSP/FormantFilter.C | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/DSP/FormantFilter.C b/src/DSP/FormantFilter.C @@ -63,8 +63,8 @@ FormantFilter::FormantFilter(FilterParams *pars){ FormantFilter::~FormantFilter(){ for (int i=0;i<numformants;i++) delete(formant[i]); - delete (inbuffer); - delete (tmpbuf); + delete[] inbuffer; + delete[] tmpbuf; };