From: Artem Zhidkov Date: Fri, 11 Dec 2020 06:14:40 +0000 (+0300) Subject: Issue #20469: crash when creating wire X-Git-Tag: V9_7_0a1~72 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4823cde62da97b0adcb7b746fc8ecff6deacfe03;p=modules%2Fshaper.git Issue #20469: crash when creating wire Fix misprint --- diff --git a/src/BuildPlugin/BuildPlugin_Wire.cpp b/src/BuildPlugin/BuildPlugin_Wire.cpp index e56d0b2d1..c1bf527de 100644 --- a/src/BuildPlugin/BuildPlugin_Wire.cpp +++ b/src/BuildPlugin/BuildPlugin_Wire.cpp @@ -409,6 +409,7 @@ bool buildSketchWires(FeaturePtr theSketchFeature, GeomShapePtr theSketchShape, break; } aNewWires.erase(aFoundEnd->second); + aMapVW.erase(aFoundStart); aMapVW.erase(aFoundEnd); } continue;