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 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);
}