mirror of
https://github.com/github/codeql.git
synced 2026-04-23 07:45:17 +02:00
CPP: make more alert messages follow the style-guide
This commit is contained in:
@@ -14,4 +14,4 @@ from Expr alloc, Expr free, Expr freed
|
||||
where
|
||||
allocReaches(freed, alloc, "new[]") and
|
||||
freeExprOrIndirect(free, freed, "delete")
|
||||
select free, "This memory may have been allocated with '$@', not 'new'.", alloc, "new[]"
|
||||
select free, "This memory may have been allocated with $@, not 'new'.", alloc, "new[]"
|
||||
|
||||
Reference in New Issue
Block a user