pervious commit did not compile: small copy/paste error

This commit is contained in:
Enno Rehling 2015-10-14 12:14:33 +02:00
parent 2c659c1f47
commit ae3210ec87
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ void bt_register(building_type * type)
void free_buildingtype(void *ptr) {
building_type *btype = (building_type *)ptr;
free_construction(btype->construction);
free_construction(btype->maintenance);
free(btype->maintenance);
free(btype->_name);
free(btype);
}