From 1e2545439eae9566a1769df24dd4b3b3e8d062d3 Mon Sep 17 00:00:00 2001 From: Slava Semushin Date: Sun, 24 May 2009 00:26:34 +0700 Subject: [PATCH] src/checkmemoryleak.cpp(GetDeallocationType): removed brackets. No functional change. --- src/checkmemoryleak.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/checkmemoryleak.cpp b/src/checkmemoryleak.cpp index fe65b980b..746ce98f0 100644 --- a/src/checkmemoryleak.cpp +++ b/src/checkmemoryleak.cpp @@ -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;