Skip to content

Commit b4771d6

Browse files
authored
Merge pull request #2 from MathiasVP/patch-1
Update workshop.md
2 parents ed39cf5 + a118ee8 commit b4771d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

workshop.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ Each step has a **Solution** that indicates one possible answer. Note that all q
161161
```ql
162162
predicate isSource(Expr arg) {
163163
exists(FunctionCall call |
164-
arg = call.getArgument(0)) and
165-
call.hasGlobalOrStdName("free")
164+
arg = call.getArgument(0) and
165+
call.getTarget().hasGlobalOrStdName("free")
166166
)
167167
}
168168
```

0 commit comments

Comments
 (0)