Merge pull request #98 from maliberty/coverity

Avoid double stringCopy visitCellFootprint & setFootprint
This commit is contained in:
James Cherry 2024-09-25 11:04:42 -07:00 committed by GitHub
commit 07b85447ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -3072,7 +3072,7 @@ LibertyReader::visitCellFootprint(LibertyAttr *attr)
if (cell_) {
const char *footprint = getAttrString(attr);
if (footprint)
cell_->setFootprint(stringCopy(footprint));
cell_->setFootprint(footprint);
}
}