mirror of
https://github.com/github/codeql.git
synced 2025-12-25 21:26:37 +01:00
6 lines
117 B
C++
6 lines
117 B
C++
Record *ptr = new Record(...);
|
|
|
|
...
|
|
|
|
free(ptr); // BAD: ptr was created using 'new', but is being freed using 'free'
|