Merge branch 'master' of git://github.com/czw/cppcheck

This commit is contained in:
Daniel Marjamäki 2010-04-06 22:12:11 +02:00
commit cd2f8f6838
1 changed files with 3 additions and 1 deletions

View File

@ -965,7 +965,9 @@ Token *CheckMemoryLeakInFunction::getcode(const Token *tok, std::list<const Toke
addtoken((dep ? "ifv" : "if")); addtoken((dep ? "ifv" : "if"));
} }
tok = tok->next()->link(); tok = tok->next();
if (tok->link())
tok = tok->link();
} }
} }
} }