memory leak: free race->parameters

This commit is contained in:
Enno Rehling 2016-03-11 11:31:05 +01:00
parent cdf6d3992e
commit b81f9db074
1 changed files with 1 additions and 0 deletions

View File

@ -141,6 +141,7 @@ void racelist_insert(struct race_list **rl, const struct race *r)
void free_races(void) {
while (races) {
race * rc = races->next;
free_params(&races->parameters);
free(races->_name);
free(races->def_damage);
free(races);