diff --git a/src/ai/ai_info.cpp b/src/ai/ai_info.cpp index 0eead0302c..80f6f9e8de 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(); }