From 0c9c3c97372836e35c75a67758f8276879ea0ac4 Mon Sep 17 00:00:00 2001 From: Tetsuo55 Date: Sun, 23 Jun 2013 00:14:45 +0200 Subject: [PATCH] forgot to add free() to the previous malloc change --- Externals/soundtouch/FIRFilter.cpp | 1 + Externals/soundtouch/SoundTouch.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/Externals/soundtouch/FIRFilter.cpp b/Externals/soundtouch/FIRFilter.cpp index ddd2a87dec..54c808d006 100644 --- a/Externals/soundtouch/FIRFilter.cpp +++ b/Externals/soundtouch/FIRFilter.cpp @@ -217,6 +217,7 @@ uint FIRFilter::evaluateFilterMulti(SAMPLETYPE *dest, const SAMPLETYPE *src, uin sum[c] = 0; } } + free(sum); return numSamples - length; } diff --git a/Externals/soundtouch/SoundTouch.cpp b/Externals/soundtouch/SoundTouch.cpp index 4fad740587..7c35d86697 100644 --- a/Externals/soundtouch/SoundTouch.cpp +++ b/Externals/soundtouch/SoundTouch.cpp @@ -383,6 +383,7 @@ void SoundTouch::flush() pTDStretch->clearInput(); // yet leave the 'tempoChanger' output intouched as that's where the // flushed samples are! + free(buff); }