Changeset - r13055:ad502f16f76d
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-09-17 21:45:47
rubidium@openttd.org
(svn r17563) -Fix: memory leak when viewing the NewGRF settings of a server
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/newgrf_config.cpp
Show inline comments
 
@@ -150,6 +150,8 @@ GRFConfig **CopyGRFConfigList(GRFConfig 
 
			if (src->error->custom_message != NULL) c->error->custom_message = strdup(src->error->custom_message);
 
		}
 

	
 
		ClrBit(c->flags, GCF_COPY);
 

	
 
		ClrBit(c->flags, GCF_INIT_ONLY);
 
		if (init_only) SetBit(c->flags, GCF_INIT_ONLY);
 

	
0 comments (0 inline, 0 general)