Commit 85896b34 authored by Ken Martin's avatar Ken Martin
Browse files

minor memory fix

parent 1bd67666
......@@ -96,12 +96,12 @@ cmMakefile::~cmMakefile()
}
std::list<cmFunctionBlocker *>::iterator pos;
for (pos = m_FunctionBlockers.begin();
pos != m_FunctionBlockers.end(); pos = m_FunctionBlockers.begin())
pos != m_FunctionBlockers.end(); ++pos)
{
cmFunctionBlocker* b = *pos;
m_FunctionBlockers.remove(*pos);
delete b;
}
m_FunctionBlockers.clear();
}
void cmMakefile::PrintStringVector(const char* s, const std::vector<std::string>& v) const
......
Supports Markdown
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