Avoid double stringCopy visitCellFootprint & setFootprint

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
This commit is contained in:
Matt Liberty 2024-09-19 01:52:09 +00:00
parent d4f221970d
commit 432c04d6ce
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);
}
}