summaryrefslogtreecommitdiff
path: root/src
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
commita507341089dce55ef0059f5b5601794b9ec251d9 (patch)
tree1ec14caa0571367a9ae4e832161063d071837478 /src
parent821e58ac9514f7fcd43e01115c4dc2a09b4ee45f (diff)
downloadopenttd-a507341089dce55ef0059f5b5601794b9ec251d9.tar.xz
(svn r9916) -Codechange: Free memory used by cargo translation tables
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 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);
}