mirror of
https://github.com/github/codeql.git
synced 2025-12-24 20:56:33 +01:00
7 lines
170 B
C++
7 lines
170 B
C++
int main(int argc, char* argv[]) {
|
|
int *buff = malloc(SIZE * sizeof(int));
|
|
int status = 0;
|
|
... //code that does not free buff
|
|
return status; //buff is never closed
|
|
}
|