summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-05-25 06:39:12 +0000
committerpeter1138 <peter1138@openttd.org>2007-05-25 06:39:12 +0000
commitd5d94e230fe92fe461becdf9043034651141ab73 (patch)
tree1ec14caa0571367a9ae4e832161063d071837478
parent440d723d842db2f246428de2e404091e074ed254 (diff)
downloadopenttd-d5d94e230fe92fe461becdf9043034651141ab73.tar.xz
(svn r9916) -Codechange: Free memory used by cargo translation tables
-rw-r--r--src/newgrf.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index afa656ab8..8f0aac2ec 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -4304,6 +4304,7 @@ static void ResetNewGRF()
next = f->next;
free(f->filename);
+ free(f->cargo_list);
free(f);
}