cppcheck/samples/resourceLeak/good.c

11 lines
130 B
C

#include <stdio.h>
int main()
{
FILE *a = fopen("good.c", "r");
if (!a)
return 0;
fclose(a);
return 0;
}