CheckMemoryLeak: moved 'popen' into posix scope

This commit is contained in:
Daniel Marjamäki 2014-04-18 16:30:16 +02:00
parent 56eb717b8a
commit b909aa0e4f
1 changed files with 3 additions and 3 deletions

View File

@ -174,10 +174,10 @@ CheckMemoryLeak::AllocType CheckMemoryLeak::getAllocationType(const Token *tok2,
return No;
return Fd;
}
}
if (Token::simpleMatch(tok2, "popen ("))
return Pipe;
if (Token::simpleMatch(tok2, "popen ("))
return Pipe;
}
// Does tok2 point on "g_malloc", "g_strdup", ..
const int alloctype = settings1->library.alloc(tok2->str());