(svn r17341) -Fix: memory leak when trying to bankrupt the local company
This commit is contained in:
		@@ -536,6 +536,7 @@ static void CompanyCheckBankrupt(Company *c)
 | 
			
		||||
				 * join another company (cheat) the "unowned" company can bankrupt. */
 | 
			
		||||
				c->bankrupt_asked = MAX_UVALUE(CompanyMask);
 | 
			
		||||
				c->bankrupt_timeout = 0x456;
 | 
			
		||||
				free(cni);
 | 
			
		||||
				break;
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user