mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-08-30 09:48:30 +02:00
Fix leaked iterator in Sta::netSlack
(Upstreamed but commiting here on expectation of merge) Signed-off-by: Matt Liberty <[email protected]>
This commit is contained in:
@@ -2963,6 +2963,7 @@ Sta::netSlack(const Net *net,
|
||||
slack = pin_slack;
|
||||
}
|
||||
}
|
||||
delete pin_iter;
|
||||
return slack;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user