mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-09 23:04:29 +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");
|
||||
|
||||
if (!outfp) {
|
||||
fclose(infp);
|
||||
perror("fopen");
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user