(svn r20758) -Fix: when leaving the program, current newgrf config would leak, causing valgrind warnings

This commit is contained in:
smatz
2010-09-06 18:20:07 +00:00
parent a71cc228b2
commit 82949024f1
3 changed files with 5 additions and 1 deletions

View File

@@ -6984,7 +6984,7 @@ static void ResetNewGRFErrors()
* Reset all NewGRF loaded data
* TODO
*/
static void ResetNewGRFData()
void ResetNewGRFData()
{
CleanUpStrings();
CleanUpGRFTownNames();