summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testsuite/benchmorc/benchmorc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/benchmorc/benchmorc.c b/testsuite/benchmorc/benchmorc.c
index c1a92e6..0703b6e 100644
--- a/testsuite/benchmorc/benchmorc.c
+++ b/testsuite/benchmorc/benchmorc.c
@@ -106,6 +106,7 @@ read_file (const char *filename)
contents[size] = 0;
+ fclose (file);
return contents;
bail:
/* something failed */