aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/init.c b/init/init.c
index 2e2f85577..f109c4ea5 100644
--- a/init/init.c
+++ b/init/init.c
@@ -1011,6 +1011,7 @@ static void parse_inittab(void)
message(LOG | CONSOLE, "\rBad inittab entry: %s\n", lineAsRead);
}
}
+ fclose(file);
return;
#endif /* CONFIG_FEATURE_USE_INITTAB */
}