mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-19 19:54:34 +02:00
Add missing fclose() in mkembedconfig
This commit is contained in:
parent
7ca3a3c5e9
commit
6e55715a6c
@ -43,6 +43,7 @@ int main(int argc, char **argv)
|
|||||||
outfp = fopen(argv[2], "w");
|
outfp = fopen(argv[2], "w");
|
||||||
|
|
||||||
if (!outfp) {
|
if (!outfp) {
|
||||||
|
fclose(infp);
|
||||||
perror("fopen");
|
perror("fopen");
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user