diff --git a/GeoLib/Surface.cpp b/GeoLib/Surface.cpp index 112475464f66528c77cd346690da18e748e3150f..1e839f699089fb2d0019ec7e5bb4307b9cce4bd2 100644 --- a/GeoLib/Surface.cpp +++ b/GeoLib/Surface.cpp @@ -36,6 +36,7 @@ Surface::~Surface () { for (std::size_t k(0); k < _sfc_triangles.size(); k++) delete _sfc_triangles[k]; + delete _bv; } void Surface::addTriangle (std::size_t pnt_a, std::size_t pnt_b, std::size_t pnt_c)