From ebf55461e37bf4467b68c1ff203c4d1aff1cf7c9 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Sat, 25 Jun 2022 19:36:31 +0000 Subject: [PATCH] TimingArcAttrs --- liberty/LibertyReader.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/liberty/LibertyReader.cc b/liberty/LibertyReader.cc index 049cb3ef..24149ef7 100644 --- a/liberty/LibertyReader.cc +++ b/liberty/LibertyReader.cc @@ -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_); }