TimingArcAttrs

This commit is contained in:
James Cherry 2022-06-25 19:36:31 +00:00
parent 5a8b29d3ee
commit ebf55461e3
1 changed files with 1 additions and 4 deletions

View File

@ -4931,8 +4931,7 @@ PortGroup::PortGroup(LibertyPortSeq *ports,
PortGroup::~PortGroup()
{
// TimingGroups and IntternalPower are NOT deleted because ownership is transfered
// to LibertyCell::timing_arc_attrs_ by LibertyReader::makeTimingArcs.
timings_.deleteContents();
delete ports_;
}
@ -5073,8 +5072,6 @@ TimingGroup::TimingGroup(int line) :
TimingGroup::~TimingGroup()
{
// TimingAttrs contents are not deleted because they are referenced
// by TimingArcSets.
if (related_output_port_name_)
stringDelete(related_output_port_name_);
}