Commit d25aaca2 authored by Alexey Hohlov's avatar Alexey Hohlov
Browse files


parent 9451ee91
......@@ -86,11 +86,10 @@ bool CXMLConfig::ReadBool(std::string file, std::string path, std::string attr,
return ret;
std::map<std::string,cfg>::iterator it;
for (it=configs.begin(); it != configs.end(); it++) {
//if ((*it).doc) delete((*it).doc);
for (auto& it : configs) {
if (it.second.doc)
delete it.second.doc;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment