diff --git a/src/main.c b/src/main.c
index df5389a..0568a46 100644
--- a/src/main.c
+++ b/src/main.c
@@ -85,6 +85,8 @@ void check_requirements()
exit(EXIT_FAILURE);
}
+ closedir(dir);
+
}
pclose(fd);
@@ -100,6 +102,8 @@ void check_requirements()
exit(EXIT_FAILURE);
}
+ closedir(dir);
+
}
pclose(fd);
[#117] call closedir(dir) when checking requirements
f20a2274e12f4481f2ed9075ff2bf0404cbcc065
Daniel Graziotin <daniel@ineed.coffee> · 2017-06-21T11:32 ·
browse files at this commit
parents:
4730988