summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/newgrf.cpp1
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);
}