From fb5707b73e34d527f9c43364313ae2520ed53dc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 16 Oct 2008 16:26:29 +0000 Subject: [PATCH] MemoryLeak: Minor fix to reduce false positives --- CheckMemoryLeak.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CheckMemoryLeak.cpp b/CheckMemoryLeak.cpp index 9fa23e268..a182aad0b 100644 --- a/CheckMemoryLeak.cpp +++ b/CheckMemoryLeak.cpp @@ -317,7 +317,7 @@ static TOKEN *getcode(const TOKEN *tok, const char varname[]) addtoken("use"); // Function parameter.. - if ( Match(tok, "[(,] %var1% [,)]", varnames) ) + if ( Match(tok, "[(,)] %var1% [,)]", varnames) ) addtoken("use"); // Linux lists..