Fix memory-leak in BPM detection
This commit is contained in:
parent
46117303da
commit
221975a982
@ -520,6 +520,8 @@ public:
|
||||
|
||||
if (acfLength < maxlag) {
|
||||
// Not enough data
|
||||
delete [] acf;
|
||||
delete [] temp;
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user