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