udacity / SFND_Lidar_Obstacle_Detection

374 stars 523 forks source link

Add destructors to KdTree and Node #9

Closed mike239x closed 3 years ago

mike239x commented 5 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.

abhiojha8 commented 3 years ago

This is now resolved.