summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/tools/acpixtract/acpixtract.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/tools/acpixtract/acpixtract.c b/source/tools/acpixtract/acpixtract.c
index 050271cb4..6de90de2d 100644
--- a/source/tools/acpixtract/acpixtract.c
+++ b/source/tools/acpixtract/acpixtract.c
@@ -638,6 +638,7 @@ AxListAllTables (
&Header[ByteCount]);
if (ThisLineByteCount == EOF)
{
+ fclose (InputFile);
return (-1);
}