CheckMemoryLeak: moved 'popen' into posix scope
This commit is contained in:
parent
56eb717b8a
commit
b909aa0e4f
|
@ -174,10 +174,10 @@ CheckMemoryLeak::AllocType CheckMemoryLeak::getAllocationType(const Token *tok2,
|
||||||
return No;
|
return No;
|
||||||
return Fd;
|
return Fd;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (Token::simpleMatch(tok2, "popen ("))
|
if (Token::simpleMatch(tok2, "popen ("))
|
||||||
return Pipe;
|
return Pipe;
|
||||||
|
}
|
||||||
|
|
||||||
// Does tok2 point on "g_malloc", "g_strdup", ..
|
// Does tok2 point on "g_malloc", "g_strdup", ..
|
||||||
const int alloctype = settings1->library.alloc(tok2->str());
|
const int alloctype = settings1->library.alloc(tok2->str());
|
||||||
|
|
Loading…
Reference in New Issue