mirror of
https://github.com/github/codeql.git
synced 2025-12-24 12:46:34 +01:00
7 lines
161 B
C++
7 lines
161 B
C++
int main(int argc, char* argv[]) {
|
|
FILE *fp = fopen("foo.txt", "w");
|
|
int status = 0;
|
|
... //code that does not close fp
|
|
return status; //fp is never closed
|
|
}
|