summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/economy.cpp')
-rw-r--r--src/economy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index c7c7f4bca..554aab30c 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -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;
}