diff options
author | truebrain <truebrain@openttd.org> | 2009-01-17 14:45:44 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2009-01-17 14:45:44 +0000 |
commit | 7eae6523024f88a37a900cd1fd86b94f7cc73f0e (patch) | |
tree | 7179470fe06761eb78c9386fec30ce1355453995 /src/ai | |
parent | 6b25bc0e0cbb52548ff63a836bdc4d371e6fbfd7 (diff) | |
download | openttd-7eae6523024f88a37a900cd1fd86b94f7cc73f0e.tar.xz |
(svn r15118) -Fix: fix a minor mem-leak
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/ai_info.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/ai_info.cpp b/src/ai/ai_info.cpp index f0a2d5b27..9528f32cd 100644 --- a/src/ai/ai_info.cpp +++ b/src/ai/ai_info.cpp @@ -22,6 +22,7 @@ AIFileInfo::~AIFileInfo() this->engine->ReleaseObject(this->SQ_instance); free((void *)this->author); free((void *)this->name); + free((void *)this->short_name); free((void *)this->description); free((void *)this->date); free((void *)this->instance_name); |