Skip to content

Commit

Permalink
Fix forgotten close in error handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
jech committed Mar 17, 2023
1 parent 0cc4917 commit b8cb8c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configuration.c
Original file line number Diff line number Diff line change
Expand Up @@ -1297,6 +1297,7 @@ parse_config_from_file(const char *filename, int *line_return)
c = parse_config_line(c, (gnc_t)gnc_file, &s, NULL, NULL);
if(c < -1) {
*line_return = s.line;
fclose(s.f);
return -1;
}
if(c == -1)
Expand Down

0 comments on commit b8cb8c5

Please sign in to comment.