mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +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.
7 lines
62 B
C++
7 lines
62 B
C++
class C { };
|
|
|
|
static void f() {
|
|
C* c = new C();
|
|
delete c;
|
|
}
|