Merge pull request #92 from HeisSpiter/master

Fix memory leak
This commit is contained in:
PKEuS 2012-03-31 04:24:30 -07:00
commit 57475a8d93
1 changed files with 1 additions and 1 deletions

View File

@ -471,7 +471,7 @@ void checkExecutionPaths(const SymbolDatabase *symbolDatabase, ExecutionPath *c)
c->end(checks, i->classEnd);
// Cleanup
while (checks.size() > 1) {
while (!checks.empty()) {
delete checks.back();
checks.pop_back();
}