diff options
author | alberth <alberth@openttd.org> | 2011-08-19 20:44:22 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2011-08-19 20:44:22 +0000 |
commit | f1b792cd0121181484218467c76d5a9869621d8c (patch) | |
tree | 8799e0cd63fe77169d5964256da21f4f785e3165 /src | |
parent | 5a81e7c8d8bfb2c435c40794bde82cac90a25c00 (diff) | |
download | openttd-f1b792cd0121181484218467c76d5a9869621d8c.tar.xz |
(svn r22760) -Fix (r19459): Also free allocated depot tables.
Diffstat (limited to 'src')
-rw-r--r-- | src/newgrf.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 59dc65aad..ef2243c7e 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -7256,6 +7256,7 @@ static void ResetCustomAirports() free((void*)as->table[j]); } free((void*)as->table); + free((void*)as->depot_table); free(as); } |