mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
12 lines
167 B
C
12 lines
167 B
C
#include <stdio.h>
|
|||
|
|||
void funcA(void) {
|
|||
FILE *f = fopen("a.txt", "r");
|
|||
/* f leaked */
|
|||
}
|
|||
|
|||
void funcB(void) {
|
|||
FILE *f = fopen("b.txt", "r");
|
|||
fclose(f);
|
|||
}
|