1
0
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:
richardash1981
2013-10-27 20:49:58 +00:00
parent cb994138d1
commit 62986f3b85

View File

@@ -120,6 +120,7 @@ void EffectChangePitch::DeduceFrequencies()
delete [] freq;
delete [] freqa;
delete [] buffer;
lag = (windowSize/2 - 1) - argmax;
m_dStartFrequency = rate / lag;