mirror of https://github.com/OpenTTD/OpenTTD
(svn r17341) -Fix: memory leak when trying to bankrupt the local company
parent
317f34b3d2
commit
50e794849a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue