(svn r17341) -Fix: memory leak when trying to bankrupt the local company

This commit is contained in:
rubidium 2009-09-01 12:16:01 +00:00
parent 317f34b3d2
commit 50e794849a

View File

@ -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;
}