summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoradf88 <adf88@openttd.org>2017-08-31 06:54:22 +0000
committeradf88 <adf88@openttd.org>2017-08-31 06:54:22 +0000
commitb56453f93ba5aff4760e4c54a17af9028a57f77d (patch)
tree1f1393bdff7aed892608c3d9a424c5a92bf6c089 /src
parent1dd69305074cdbdb22e311ac91ebc56650da3133 (diff)
downloadopenttd-b56453f93ba5aff4760e4c54a17af9028a57f77d.tar.xz
(svn r27907) -Fix: AirportSpec::rotation was memleaking
Diffstat (limited to 'src')
-rw-r--r--src/newgrf.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 24b0238b3..2f02b049b 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -7915,6 +7915,7 @@ static void ResetCustomAirports()
}
free(as->table);
free(as->depot_table);
+ free(as->rotation);
free(as);
}