Index: lib/fuzzer/standalone/StandaloneFuzzTargetMain.c =================================================================== --- lib/fuzzer/standalone/StandaloneFuzzTargetMain.c +++ lib/fuzzer/standalone/StandaloneFuzzTargetMain.c @@ -35,6 +35,7 @@ assert(n_read == len); LLVMFuzzerTestOneInput(buf, len); free(buf); + fclose(f); fprintf(stderr, "Done: %s: (%zd bytes)\n", argv[i], n_read); } }