From e2f270653949bc751aa8ff302fae55e44b0867e1 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Wed, 31 Mar 2021 11:43:42 -0500 Subject: [PATCH] Fix small file leak in fuzzing driver This doesn't matter as the file is needed until right before the program quits, but it placates Coverity. --- fuzzing/driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fuzzing/driver.c b/fuzzing/driver.c index f6d2396db..296ce5710 100644 --- a/fuzzing/driver.c +++ b/fuzzing/driver.c @@ -30,6 +30,7 @@ main (int argc, char **argv) LLVMFuzzerTestOneInput (buf, len); free (buf); + fclose (f); printf ("Done!\n"); return 0; }