Index: StandaloneFuzzTargetMain.c =================================================================== --- StandaloneFuzzTargetMain.c +++ StandaloneFuzzTargetMain.c @@ -34,6 +34,7 @@ unsigned char *buf = (unsigned char*)malloc(len); size_t n_read = fread(buf, 1, len, f); assert(n_read == len); + fclose(f); LLVMFuzzerTestOneInput(buf, len); free(buf); fprintf(stderr, "Done: %s: (%zd bytes)\n", argv[i], n_read);