Skip to content

Commit

Permalink
TimingArcAttrs
Browse files Browse the repository at this point in the history
  • Loading branch information
jjcherry56 committed Jun 25, 2022
1 parent 5a8b29d commit ebf5546
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions liberty/LibertyReader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
}

Expand Down Expand Up @@ -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_);
}
Expand Down

0 comments on commit ebf5546

Please sign in to comment.