Coverity fixes
CID 174671 CID 174670 CID 174669 CID 174668 CID 174667 CID 174664
This commit is contained in:
@@ -194,6 +194,7 @@ void ViewProviderGeomHatch::getParameters(void)
|
||||
std::string lgName = hGrp->GetASCII("LineGroup","FC 0.70mm");
|
||||
auto lg = TechDraw::LineGroup::lineGroupFactory(lgName);
|
||||
double weight = lg->getWeight("Graphic");
|
||||
delete lg; //Coverity CID 174667
|
||||
WeightPattern.setValue(weight);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user