mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 17:11:12 +02:00
Fixes per Vigilant Sentry (http://www.vigilantsw.com/)
* Fix memory leaks. * Add comments about initializations and checking for successful results. * Add checks for NULL deref. * Consistency in "TODO" vs "TO-DO" comments!
This commit is contained in:
@@ -221,7 +221,7 @@ bool VampEffect::Process()
|
||||
|
||||
mTracks->Add(ltrack);
|
||||
|
||||
float **data = new float*[channels];
|
||||
float **data = new float*[channels]; // ANSWER-ME: Vigilant Sentry marks this as memory leak, var "data" not deleted.
|
||||
for (int c = 0; c < channels; ++c) data[c] = new float[block];
|
||||
|
||||
sampleCount originalLen = len;
|
||||
|
Reference in New Issue
Block a user