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:
committed by
James Crook
parent
2457579091
commit
fe6f83feea
@@ -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;
|
||||
|
Reference in New Issue
Block a user