mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
CPP: Use newer dataflow for the fix.
This commit is contained in:
@@ -152,7 +152,7 @@ void test3()
|
||||
void *b = my_malloc_3(10);
|
||||
|
||||
free(a); // GOOD
|
||||
delete b; // BAD: malloc -> delete [NOT DETECTED]
|
||||
delete b; // BAD: malloc -> delete
|
||||
}
|
||||
|
||||
void test4(bool do_array_delete)
|
||||
|
||||
Reference in New Issue
Block a user