From f1b792cd0121181484218467c76d5a9869621d8c Mon Sep 17 00:00:00 2001 From: alberth Date: Fri, 19 Aug 2011 20:44:22 +0000 Subject: (svn r22760) -Fix (r19459): Also free allocated depot tables. --- src/newgrf.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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); } -- cgit v1.2.3-70-g09d2