CodeQL library for C/C++
codeql/cpp-all 0.5.1 (changelog, source)
Search

Predicate freeCall

A call to a library routine that frees memory.

DEPRECATED: Use DeallocationExpr instead (this also includes delete expressions).

Import path

import cpp
predicate freeCall(FunctionCall fc, Expr arg)