summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-02-13 16:25:53 +0000
committeryexo <yexo@openttd.org>2009-02-13 16:25:53 +0000
commit8370da7a33ee2512eef50a6d1794722d2da31fcc (patch)
treef1ddd94e5fbaaec86d0f32fae1a00b9f8f8133c1 /src
parent232d21df130bac88f2c3a7edc388abdddb9aee49 (diff)
downloadopenttd-8370da7a33ee2512eef50a6d1794722d2da31fcc.tar.xz
(svn r15466) -Fix (r15330): The squirrel instance object was freed twice if an info.nut failed to compile.
Diffstat (limited to 'src')
-rw-r--r--src/ai/ai_info.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ai/ai_info.cpp b/src/ai/ai_info.cpp
index d97aedd11..de1a71bc9 100644
--- a/src/ai/ai_info.cpp
+++ b/src/ai/ai_info.cpp
@@ -30,7 +30,6 @@ AIConfigItem _start_date_config = {
AIFileInfo::~AIFileInfo()
{
- this->engine->ReleaseObject(this->SQ_instance);
free((void *)this->author);
free((void *)this->name);
free((void *)this->short_name);