mirror of https://github.com/Icinga/icinga2.git
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");
|
||||
|
||||
if (!outfp) {
|
||||
fclose(infp);
|
||||
perror("fopen");
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue