forgot to add free() to the previous malloc change

This commit is contained in:
Tetsuo55 2013-06-23 00:14:45 +02:00
parent 02351b77f9
commit 0c9c3c9737
2 changed files with 2 additions and 0 deletions

View File

@ -217,6 +217,7 @@ uint FIRFilter::evaluateFilterMulti(SAMPLETYPE *dest, const SAMPLETYPE *src, uin
sum[c] = 0; sum[c] = 0;
} }
} }
free(sum);
return numSamples - length; return numSamples - length;
} }

View File

@ -383,6 +383,7 @@ void SoundTouch::flush()
pTDStretch->clearInput(); pTDStretch->clearInput();
// yet leave the 'tempoChanger' output intouched as that's where the // yet leave the 'tempoChanger' output intouched as that's where the
// flushed samples are! // flushed samples are!
free(buff);
} }