Closed mike239x closed 3 years ago
Both Node and KdTree have pointers to Nodes, which I believe wont be deleted by an unaware programmer. I suggest adding destructors to those two classes where the corresponding pointers would be deleted.
This is now resolved.
Both Node and KdTree have pointers to Nodes, which I believe wont be deleted by an unaware programmer. I suggest adding destructors to those two classes where the corresponding pointers would be deleted.