summaryrefslogtreecommitdiff
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
commit15b9366f0687182d635bb3e4bdce9451534a82ad (patch)
treef1ddd94e5fbaaec86d0f32fae1a00b9f8f8133c1
parentd3f018a7e34861082e633ae55673d492d6144e45 (diff)
downloadopenttd-15b9366f0687182d635bb3e4bdce9451534a82ad.tar.xz
(svn r15466) -Fix (r15330): The squirrel instance object was freed twice if an info.nut failed to compile.
-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);