Skip to content

Commit f284fde

Browse files
committed
C++: Update QLDoc.
1 parent a6104ad commit f284fde

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cpp/ql/src/Critical/FlowAfterFree.qll

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,9 @@ module FlowFromFree<isSinkSig/2 isASink, isExcludedSig/2 isExcluded> {
9494
}
9595

9696
/**
97-
* Holds if `n` is a dataflow node such that `n.asExpr() = e` and `e`
98-
* is being freed by a deallocation expression `dealloc`.
97+
* Holds if `n` is a dataflow node that represents the pointer passed to
98+
* `dealloc` after the call returns (i.e., the post-update node associated with
99+
* the argument to `dealloc`).
99100
*/
100101
predicate isFree(DataFlow::Node n, Expr e, DeallocationExpr dealloc) {
101102
exists(Expr conv |

0 commit comments

Comments
 (0)