Commit 54459415 authored by Anthony Royer's avatar Anthony Royer

Resource leak: fdeb

parent 74283d4a
Pipeline #2727 passed with stage
in 19 minutes and 11 seconds
......@@ -1065,7 +1065,10 @@ bool meshGenerator(GFace *gf, int RECUR_ITER, bool repairSelfIntersecting1dMesh,
}
while(ite != edges.end()) {
if((*ite)->isSeam(gf)) return false;
if((*ite)->isSeam(gf)) {
if(fdeb != NULL) fclose(fdeb);
return false;
}
if(!(*ite)->isMeshDegenerated()) {
for(unsigned int i = 0; i < (*ite)->lines.size(); i++) {
MVertex *v1 = (*ite)->lines[i]->getVertex(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment