mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +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.
10 lines
79 B
C++
10 lines
79 B
C++
class C {
|
|
public:
|
|
~C();
|
|
};
|
|
|
|
static void f() {
|
|
C* c = new C();
|
|
delete c;
|
|
}
|