memory leak of fighters' weapons in combat

This commit is contained in:
Enno Rehling 2005-04-30 11:50:19 +00:00
parent 304ac20747
commit 9ed93308ff
1 changed files with 7 additions and 6 deletions

View File

@ -3216,6 +3216,7 @@ static void
free_fighter(fighter * fig)
{
free(fig->person);
free(fig->weapons);
}
static void