summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2009-01-17 14:45:44 +0000
committertruebrain <truebrain@openttd.org>2009-01-17 14:45:44 +0000
commit7eae6523024f88a37a900cd1fd86b94f7cc73f0e (patch)
tree7179470fe06761eb78c9386fec30ce1355453995 /src
parent6b25bc0e0cbb52548ff63a836bdc4d371e6fbfd7 (diff)
downloadopenttd-7eae6523024f88a37a900cd1fd86b94f7cc73f0e.tar.xz
(svn r15118) -Fix: fix a minor mem-leak
Diffstat (limited to 'src')
-rw-r--r--src/ai/ai_info.cpp1
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);