forgot to add free() to the previous malloc change
This commit is contained in:
parent
02351b77f9
commit
0c9c3c9737
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue