Skip to content

Commit 97f2be9

Browse files
committed
C++: Fix QLDoc.
1 parent cec785c commit 97f2be9

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,9 +94,10 @@ module FlowFromFree<isSinkSig/2 isASink, isExcludedSig/2 isExcluded> {
9494
}
9595

9696
/**
97-
* Holds if `n` is a dataflow node that represents the pointer passed to
97+
* Holds if `outgoing` is a dataflow node that represents the pointer passed to
9898
* `dealloc` after the call returns (i.e., the post-update node associated with
99-
* the argument to `dealloc`).
99+
* the argument to `dealloc`), and `incoming` is the corresponding argument
100+
* node going into `dealloc` (i.e., the pre-update node of `outgoing`).
100101
*/
101102
predicate isFree(DataFlow::Node outgoing, DataFlow::Node incoming, Expr e, DeallocationExpr dealloc) {
102103
exists(Expr conv |

0 commit comments

Comments
 (0)