diff options
-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 0eead0302..80f6f9e8d 100644 --- a/src/ai/ai_info.cpp +++ b/src/ai/ai_info.cpp @@ -180,6 +180,7 @@ AIInfo::~AIInfo() /* Free all allocated strings */ for (AIConfigItemList::iterator it = this->config_list.begin(); it != this->config_list.end(); it++) { free((char *)(*it).name); + free((char *)(*it).description); } this->config_list.clear(); } |