Fixed memory leak in flann KMeansIndex
This commit is contained in:
parent
49b4af1e5c
commit
b99d010977
@ -874,6 +874,8 @@ private:
|
||||
computeClustering(node->childs[c],indices+start, end-start, branching, level+1);
|
||||
start=end;
|
||||
}
|
||||
|
||||
delete[] centers;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user