forked from github/server
crash, weil i_free ein pingeliges assert hat.
This commit is contained in:
parent
a6cc3216b6
commit
4855b6de4a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue