CheckMemoryLeak: Got rid of false positives
This commit is contained in:
parent
0575781a67
commit
8260cf459a
|
@ -569,6 +569,9 @@ static TOKEN *getcode(const TOKEN *tok, const char varname[])
|
|||
// Function parameter..
|
||||
if ( Match(tok, "[(,] %var1% [,)]", varnames) )
|
||||
addtoken("use");
|
||||
|
||||
if ( Match( tok, "[=(,] & %var1% .", varnames ) )
|
||||
addtoken("use");
|
||||
}
|
||||
|
||||
return rethead;
|
||||
|
|
Loading…
Reference in New Issue