forked from Imagelibrary/binutils-gdb
Fix for sim/common hw_delete()/hw_tree_delete()
This commit is contained in:
@@ -42,8 +42,6 @@ create_hw_alloc_data (struct hw *me)
|
||||
void
|
||||
delete_hw_alloc_data (struct hw *me)
|
||||
{
|
||||
if (me->alloc_of_hw != NULL)
|
||||
hw_abort (me, "hw-alloc botch");
|
||||
while (me->alloc_of_hw != NULL)
|
||||
{
|
||||
hw_free (me, me->alloc_of_hw->alloc);
|
||||
|
||||
Reference in New Issue
Block a user