Skip to content

Commit 5a7a1dc

Browse files
committed
C++: forgot to import semmle.code.cpp.controlflow.Guards
1 parent c480431 commit 5a7a1dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/ql/src/experimental/Best Practices/GuardedFree.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
*/
1313

1414
import cpp
15+
import semmle.code.cpp.controlflow.Guards
1516

1617
class FreeCall extends FunctionCall {
1718
FreeCall() { this.getTarget().hasGlobalName("free") }

0 commit comments

Comments
 (0)