Merge pull request #98 from maliberty/coverity
Avoid double stringCopy visitCellFootprint & setFootprint
This commit is contained in:
commit
07b85447ea
|
|
@ -3072,7 +3072,7 @@ LibertyReader::visitCellFootprint(LibertyAttr *attr)
|
|||
if (cell_) {
|
||||
const char *footprint = getAttrString(attr);
|
||||
if (footprint)
|
||||
cell_->setFootprint(stringCopy(footprint));
|
||||
cell_->setFootprint(footprint);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue