1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 08:33:36 +02:00

Fix small memory leak in noise reduction, whenever Step 1 fails or is cancelled

This commit is contained in:
Paul Licameli
2015-04-07 12:22:04 +01:00
committed by James Crook
parent 2457579091
commit fe6f83feea

View File

@@ -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;