apollo
apollo copied to clipboard
spline_1d_solver.h memory leak?
Describe the bug In spline_1d_solver.h the class Spline1dSolver should construct a virtual destructor "virtual ~Spline1dSolver() = default;". Otherwise the derived classes cannot call destructor normally, which causing memory leaks.