Changeset - r12841:b530a46e43f8
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-09-01 12:16:01
rubidium@openttd.org
(svn r17341) -Fix: memory leak when trying to bankrupt the local company
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/economy.cpp
Show inline comments
 
@@ -536,6 +536,7 @@ static void CompanyCheckBankrupt(Company
 
				 * join another company (cheat) the "unowned" company can bankrupt. */
 
				c->bankrupt_asked = MAX_UVALUE(CompanyMask);
 
				c->bankrupt_timeout = 0x456;
 
				free(cni);
 
				break;
 
			}
 

	
0 comments (0 inline, 0 general)