Skip to content

Commit be17532

Browse files
committed
spelling: discriminate
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
1 parent 488dd3f commit be17532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/Critical/MemoryMayNotBeFreed.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ predicate verifiedRealloc(FunctionCall reallocCall, Variable v, ControlFlowNode
6363
node.(AnalysedExpr).getNonNullSuccessor(newV) = verified and
6464
// note: this case uses naive flow logic (getAnAssignedValue).
6565
// special case: if the result of the 'realloc' is assigned to the
66-
// same variable, we don't descriminate properly between the old
66+
// same variable, we don't discriminate properly between the old
6767
// and the new allocation; better to not consider this a free at
6868
// all in that case.
6969
newV != v

0 commit comments

Comments
 (0)