From f09127f4ef2fba78e17cc690e3918e12a3054bfb Mon Sep 17 00:00:00 2001 From: Amaury Johnan <amjohnen@gmail.com> Date: Fri, 13 May 2016 14:27:55 +0000 Subject: [PATCH] fixme crash when creating BL with triangles --- Mesh/meshGFaceOptimize.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Mesh/meshGFaceOptimize.cpp b/Mesh/meshGFaceOptimize.cpp index 60dad18307..0d3d013445 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); -- GitLab