Fix leaked iterator in Sta::netSlack

(Upstreamed but commiting here on expectation of merge)

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
This commit is contained in:
Matt Liberty 2025-09-01 01:46:29 +00:00
parent d5761004cd
commit aaec7557dc
1 changed files with 1 additions and 0 deletions

View File

@ -2963,6 +2963,7 @@ Sta::netSlack(const Net *net,
slack = pin_slack;
}
}
delete pin_iter;
return slack;
}