Coverity fixes
CID 174671 CID 174670 CID 174669 CID 174668 CID 174667 CID 174664
This commit is contained in:
@@ -433,6 +433,7 @@ double DrawUtil::getDefaultLineWeight(std::string lineType)
|
||||
auto lg = LineGroup::lineGroupFactory(lgName);
|
||||
|
||||
double weight = lg->getWeight(lineType);
|
||||
delete lg; //Coverity CID 174671
|
||||
return weight;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user