Commit c718c7e8 authored by Christophe Geuzaine's avatar Christophe Geuzaine

fix memory leak

parent ba4b78fe
Pipeline #3035 passed with stage
in 104 minutes and 20 seconds
......@@ -513,6 +513,8 @@ bool GEO_Internals::_extrude(int mode,
if(dim >= 0 && dim <= 3)
outDimTags.push_back(std::pair<int, int>(dim, s.Num));
}
List_Delete(in);
List_Delete(out);
_changed = true;
return true;
}
......@@ -578,6 +580,7 @@ bool GEO_Internals::_transform(int mode,
case 2: DilatShapes(x, y, z, a, b, c, list); break;
case 3: SymmetryShapes(a, b, c, d, list); break;
}
List_Delete(list);
_changed = true;
return true;
}
......
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