changeset 10785:018be4f29dfb draft

(svn r15118) -Fix: fix a minor mem-leak
author truebrain <truebrain@openttd.org>
date Sat, 17 Jan 2009 14:45:44 +0000
parents 9423b1eb8363
children b72b738375c0
files src/ai/ai_info.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ai/ai_info.cpp
+++ b/src/ai/ai_info.cpp
@@ -22,6 +22,7 @@
 	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);