Fixed memory leak in flann KMeansIndex

This commit is contained in:
Maksim Shabunin 2016-04-13 12:08:42 +03:00
parent 49b4af1e5c
commit b99d010977

View File

@ -874,6 +874,8 @@ private:
computeClustering(node->childs[c],indices+start, end-start, branching, level+1);
start=end;
}
delete[] centers;
}