diff --git a/search/Sta.cc b/search/Sta.cc index 0f7184fb..1c845b64 100644 --- a/search/Sta.cc +++ b/search/Sta.cc @@ -514,6 +514,7 @@ Sta::~Sta() delete report_; delete power_; delete equiv_cells_; + delete dispatch_queue_; } void diff --git a/search/StaState.cc b/search/StaState.cc index 8b6e42de..9b4af6f9 100644 --- a/search/StaState.cc +++ b/search/StaState.cc @@ -38,7 +38,7 @@ StaState::StaState() : search_(nullptr), latches_(nullptr), thread_count_(1), - dispatch_queue_(new DispatchQueue(thread_count_)), + dispatch_queue_(nullptr), pocv_enabled_(false), sigma_factor_(1.0) {