diff --git a/Mesh/meshGFaceOptimize.cpp b/Mesh/meshGFaceOptimize.cpp index 60dad18307d15d6d444e090f821bf3f4663270d6..0d3d0134454ebf9fc855d3ba216339b74aa6bb60 100644 --- a/Mesh/meshGFaceOptimize.cpp +++ b/Mesh/meshGFaceOptimize.cpp @@ -1381,7 +1381,10 @@ void quadsToTriangles(GFace *gf, double minqual) gf->triangles.push_back(t22); delete t11; delete t12; } - delete q; + delete q; // FIXME this makes gmsh to crash when creating BL with triangles + // quads created in meshGFace.cpp > modifyInitialMeshForTakingIntoAccountBoundaryLayers(..) + // quads deleted here + // quads used in getAllBoundaryLayerVertices(..) => crash } else { qds.push_back(q);