From f3f608596a5323a3e144b9891f238aefe4b17d70 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Sat, 25 Apr 2026 13:46:45 -0700 Subject: [PATCH] leak Signed-off-by: James Cherry --- search/Sta.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/search/Sta.cc b/search/Sta.cc index dc6bfc04..9ccdc841 100644 --- a/search/Sta.cc +++ b/search/Sta.cc @@ -2309,13 +2309,16 @@ Sta::checkLibrarayPocv() GateTableModel *gate_model = arc->gateTableModel(); if (gate_model) { const TableModels *models = gate_model->delayModels(); - if (models->sigma(EarlyLate::early()) != nullptr) + if (models->sigma(EarlyLate::early()) != nullptr) { + delete lib_iter; return; + } } } } } } + delete lib_iter; report_->warn(1578, "No liberty POCV/LVF models found."); }