hirc

IRC client
Log | Files | Refs

commit dbbd2404c2d9d38ca1e4f31d44d0cad0a4886376
parent 3bae42cb7ce0f670bde29fb736fa384c9e0dd6cd
Author: hhvn <dev@hhvn.uk>
Date:   Thu, 23 Dec 2021 21:07:33 +0000

s/config.c: close file properly

Diffstat:
Msrc/config.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/config.c b/src/config.c @@ -1375,6 +1375,7 @@ config_read(char *filename) { while (read_line(fileno(file), buf, sizeof(buf))) if (*buf == '/') command_eval(buf); + fclose(file); readingconf = save; shrink: