add fclose

This commit is contained in:
Jonathan Santis 2024-10-28 11:04:11 +01:00
parent d1618bf066
commit 046a39854f

View File

@ -107,6 +107,7 @@ int loadConfig(char *str_file, char **str_entry,char **host,int *intervall,int s
{ {
fprintf(stderr,"error opening file[%s]\n",str_file); fprintf(stderr,"error opening file[%s]\n",str_file);
} }
fclose(f_config);
printf("Done reading config file\n"); printf("Done reading config file\n");
return 0; return 0;
} }