13
0

Fix memory-leak in BPM detection

This commit is contained in:
Robin Gareus 2022-05-07 04:13:01 +02:00
parent 46117303da
commit 221975a982
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -520,6 +520,8 @@ public:
if (acfLength < maxlag) {
// Not enough data
delete [] acf;
delete [] temp;
return 0.0;
}