Coverity fixes

CID 174671
CID 174670
CID 174669
CID 174668
CID 174667
CID 174664
This commit is contained in:
wandererfan
2018-04-02 12:42:29 -04:00
committed by wmayer
parent 99b960c408
commit 91a0aff25f
6 changed files with 18 additions and 11 deletions

View File

@@ -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;
}