src/checkmemoryleak.cpp(GetDeallocationType): removed brackets.

No functional change.
This commit is contained in:
Slava Semushin 2009-05-24 00:26:34 +07:00
parent 2d8b08d4ab
commit 1e2545439e
1 changed files with 0 additions and 2 deletions

View File

@ -181,9 +181,7 @@ CheckMemoryLeakClass::AllocType CheckMemoryLeakClass::GetDeallocationType(const
if (Token::simpleMatch(tok, std::string("free ( " + names + " ) ;").c_str()) ||
Token::simpleMatch(tok, std::string("kfree ( " + names + " ) ;").c_str()))
{
return Malloc;
}
if (Token::simpleMatch(tok, std::string("g_free ( " + names + " ) ;").c_str()))
return gMalloc;