diff --git a/Mesh/DivideAndConquer.cpp b/Mesh/DivideAndConquer.cpp index b10c8fb7d57e1601aee72c45a5ff4bf6abddb177..e5f74ff9ad639d62ed7867ffad92c2dc7748c78f 100644 --- a/Mesh/DivideAndConquer.cpp +++ b/Mesh/DivideAndConquer.cpp @@ -828,7 +828,7 @@ DocRecord::DocRecord(int n) DocRecord::~DocRecord() { if(points) delete [] points; - if(triangles) delete []triangles; + if(triangles) delete [] triangles; if(_hull) delete [] _hull; if (_adjacencies){ for(int i = 0; i < numPoints; i++) @@ -842,7 +842,7 @@ void DocRecord::MakeMeshWithPoints() if(numPoints < 3) return; BuildDelaunay(); ConvertDListToTriangles(); - //RemoveAllDList(); + RemoveAllDList(); } void DocRecord::Voronoi()