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