Fix for sim/common hw_delete()/hw_tree_delete()

This commit is contained in:
Stephane Carrez
2000-11-25 09:18:52 +00:00
parent 7c070881e4
commit ce13044d7a
4 changed files with 15 additions and 5 deletions

View File

@ -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);