mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r15466) -Fix (r15330): The squirrel instance object was freed twice if an info.nut failed to compile.
This commit is contained in:
parent
d3f018a7e3
commit
15b9366f06
|
@ -30,7 +30,6 @@ AIConfigItem _start_date_config = {
|
||||||
|
|
||||||
AIFileInfo::~AIFileInfo()
|
AIFileInfo::~AIFileInfo()
|
||||||
{
|
{
|
||||||
this->engine->ReleaseObject(this->SQ_instance);
|
|
||||||
free((void *)this->author);
|
free((void *)this->author);
|
||||||
free((void *)this->name);
|
free((void *)this->name);
|
||||||
free((void *)this->short_name);
|
free((void *)this->short_name);
|
||||||
|
|
Loading…
Reference in New Issue