mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-09 14:43:57 +01:00
Free the buffer allocated at the start of the method, bug reported by Andrew Hallendorff
This commit is contained in:
@@ -120,6 +120,7 @@ void EffectChangePitch::DeduceFrequencies()
|
||||
|
||||
delete [] freq;
|
||||
delete [] freqa;
|
||||
delete [] buffer;
|
||||
|
||||
lag = (windowSize/2 - 1) - argmax;
|
||||
m_dStartFrequency = rate / lag;
|
||||
|
||||
Reference in New Issue
Block a user