summaryrefslogtreecommitdiffstats
path: root/common/environment.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/environment.c')
-rw-r--r--common/environment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/environment.c b/common/environment.c
index a04b1fadc1..2639411e26 100644
--- a/common/environment.c
+++ b/common/environment.c
@@ -603,6 +603,7 @@ int envfs_load(const char *filename, const char *dir, unsigned flags)
goto out;
ret = 0;
+
out:
close(envfd);
free(buf);