Commit b99d0109 authored by Maksim Shabunin's avatar Maksim Shabunin

Fixed memory leak in flann KMeansIndex

parent 49b4af1e
......@@ -874,6 +874,8 @@ private:
computeClustering(node->childs[c],indices+start, end-start, branching, level+1);
start=end;
}
delete[] centers;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment