crash, weil i_free ein pingeliges assert hat.

This commit is contained in:
Enno Rehling 2005-04-30 13:43:32 +00:00
parent a6cc3216b6
commit 4855b6de4a
1 changed files with 1 additions and 3 deletions

View File

@ -3216,9 +3216,7 @@ static void
free_fighter(fighter * fig)
{
while (fig->loot) {
item * itm = fig->loot;
fig->loot = itm->next;
i_free(itm);
i_free(i_remove(&fig->loot, fig->loot));
}
free(fig->person);
free(fig->weapons);