We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ed39cf5 + a118ee8 commit b4771d6Copy full SHA for b4771d6
1 file changed
workshop.md
@@ -161,8 +161,8 @@ Each step has a **Solution** that indicates one possible answer. Note that all q
161
```ql
162
predicate isSource(Expr arg) {
163
exists(FunctionCall call |
164
- arg = call.getArgument(0)) and
165
- call.hasGlobalOrStdName("free")
+ arg = call.getArgument(0) and
+ call.getTarget().hasGlobalOrStdName("free")
166
)
167
}
168
```
0 commit comments