Commit 9177d22
committed
odb: Fix group removal in region destroy
Since the loop body wasn't changing `_region->groups_` the loop got
stuck on the first element and never progressed past it. This hang can
be reproduced with:
set block [ord::get_db_block]
set foo_region [odb::dbRegion_create $block foo_region]
set foo_group [odb::dbGroup_create $foo_region foo_group]
odb::dbRegion_destroy $foo_region
Signed-off-by: Martin Povišer <[email protected]>1 parent 118204e commit 9177d22
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
| 353 | + | |
| 354 | + | |
357 | 355 | | |
358 | 356 | | |
359 | 357 | | |
| |||
0 commit comments