mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
These were due to several functions occurring that would have the same TRAP key. By making the functions static the TRAP keys will differ from each other.
8 lines
97 B
C++
8 lines
97 B
C++
struct ArrayDelete {
|
|
~ArrayDelete();
|
|
};
|
|
|
|
static void f() {
|
|
delete[] (ArrayDelete*)nullptr;
|
|
}
|