TimingRole leak

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2023-11-17 18:18:37 -07:00
parent 7743f8eb0b
commit 19cf68c72a
1 changed files with 5 additions and 0 deletions

View File

@ -176,6 +176,11 @@ TimingRole::destroy()
non_seq_setup_ = nullptr;
delete non_seq_hold_;
non_seq_hold_ = nullptr;
delete clock_tree_path_min_;
clock_tree_path_min_ = nullptr;
delete clock_tree_path_max_;
clock_tree_path_max_ = nullptr;
timing_roles_.clear();
}