forked from github/server
memory leak of fighters' weapons in combat
This commit is contained in:
parent
304ac20747
commit
9ed93308ff
|
@ -3216,6 +3216,7 @@ static void
|
|||
free_fighter(fighter * fig)
|
||||
{
|
||||
free(fig->person);
|
||||
free(fig->weapons);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue