mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-30 08:59:35 +01:00
(svn r22760) -Fix (r19459): Also free allocated depot tables.
This commit is contained in:
parent
5a81e7c8d8
commit
f1b792cd01
@ -7256,6 +7256,7 @@ static void ResetCustomAirports()
|
|||||||
free((void*)as->table[j]);
|
free((void*)as->table[j]);
|
||||||
}
|
}
|
||||||
free((void*)as->table);
|
free((void*)as->table);
|
||||||
|
free((void*)as->depot_table);
|
||||||
|
|
||||||
free(as);
|
free(as);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user