delete_all_memory mem use after delete

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2026-03-10 12:33:39 -07:00
parent 2c1024a6bb
commit 2ada1ce715
1 changed files with 1 additions and 1 deletions

View File

@ -497,7 +497,6 @@ Sta::sta()
Sta::~Sta() Sta::~Sta()
{ {
delete variables_;
// Verilog modules refer to the network in the sta so it has // Verilog modules refer to the network in the sta so it has
// to deleted before the network. // to deleted before the network.
delete verilog_reader_; delete verilog_reader_;
@ -526,6 +525,7 @@ Sta::~Sta()
delete power_; delete power_;
delete equiv_cells_; delete equiv_cells_;
delete dispatch_queue_; delete dispatch_queue_;
delete variables_;
deleteContents(parasitics_name_map_); deleteContents(parasitics_name_map_);
deleteContents(modes_); deleteContents(modes_);
deleteContents(scenes_); deleteContents(scenes_);