From fe6f83feeac4a94d0437b76f0957039854450085 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Tue, 7 Apr 2015 12:22:04 +0100 Subject: [PATCH] Fix small memory leak in noise reduction, whenever Step 1 fails or is cancelled --- src/effects/NoiseReduction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/effects/NoiseReduction.cpp b/src/effects/NoiseReduction.cpp index 79e90fe88..72ea1f148 100644 --- a/src/effects/NoiseReduction.cpp +++ b/src/effects/NoiseReduction.cpp @@ -641,7 +641,7 @@ bool EffectNoiseReduction::Process() if (bGoodResult) mSettings->mDoProfile = false; // So that "repeat last effect" will reduce noise else - mStatistics.release(); // So that profiling must be done again before noise reduction + mStatistics.reset(); // So that profiling must be done again before noise reduction } this->ReplaceProcessedTracks(bGoodResult); return bGoodResult;