MemoryLeak: Minor fix to reduce false positives
This commit is contained in:
parent
7e18a2f689
commit
fb5707b73e
|
@ -317,7 +317,7 @@ static TOKEN *getcode(const TOKEN *tok, const char varname[])
|
||||||
addtoken("use");
|
addtoken("use");
|
||||||
|
|
||||||
// Function parameter..
|
// Function parameter..
|
||||||
if ( Match(tok, "[(,] %var1% [,)]", varnames) )
|
if ( Match(tok, "[(,)] %var1% [,)]", varnames) )
|
||||||
addtoken("use");
|
addtoken("use");
|
||||||
|
|
||||||
// Linux lists..
|
// Linux lists..
|
||||||
|
|
Loading…
Reference in New Issue