Skip to content

Commit 18a99ef

Browse files
committed
fixed skipped pin group deletion in release build
1 parent e49c63a commit 18a99ef

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/netlist/gate_library/gate_type.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ namespace hal
402402
{
403403
if (auto res = assign_pin_to_group(pin_group, *it, delete_empty_groups); res.is_error())
404404
{
405-
assert(delete_pin_group(pin_group));
405+
delete_pin_group(pin_group);
406406
return ERR(res.get_error());
407407
}
408408
}
@@ -413,7 +413,7 @@ namespace hal
413413
{
414414
if (auto res = assign_pin_to_group(pin_group, *it, delete_empty_groups); res.is_error())
415415
{
416-
assert(delete_pin_group(pin_group));
416+
delete_pin_group(pin_group);
417417
return ERR(res.get_error());
418418
}
419419
}

0 commit comments

Comments
 (0)