MIDI synth memory leak

• Nov 23, 2018 - 17:21
Reported version
2.3
Type
Performance
Frequency
Once
Severity
S5 - Suggestion
Reproducibility
Always
Status
won't fix
Regression
No
Workaround
No
Project

audiofile.cpp row 86 (AudioFile::readData)
float* dataF = new float[totalFrames];
is never cleaned up, causing a rather big memory leak in 2.3.2
This is already fixed in master by replacing it with std::vector but I figured you might patch this in 2.3.3 (if that is coming) as this can cause hundreds of megabytes to leak if exporting multiple audio files.


Comments