diff options
author | Darkvater <darkvater@openttd.org> | 2006-12-20 20:43:52 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-12-20 20:43:52 +0000 |
commit | 1812bcfc8c20dfea2df38da7f7b042c2d62f551b (patch) | |
tree | f295888585422fc4f1016e2e401fdf3a3c1b8466 /settings.c | |
parent | 9011371e83a81deac255ea1b1e1f404b68b6c92d (diff) | |
download | openttd-1812bcfc8c20dfea2df38da7f7b042c2d62f551b.tar.xz |
(svn r7517) -Codechange: Set pointers to NULL when freeing the newgrf config variables and add the proper const to CopyGRFConfigList
Diffstat (limited to 'settings.c')
-rw-r--r-- | settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.c b/settings.c index 498f5d2f1..af40febfa 100644 --- a/settings.c +++ b/settings.c @@ -1534,7 +1534,7 @@ static GRFConfig *GRFLoadConfig(IniFile *ini, const char *grpname, bool is_stati } ShowInfoF("ini: ignoring invalid NewGRF '%s': %s", item->name, msg); - ClearGRFConfig(c); + ClearGRFConfig(&c); continue; } |