mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 12:12:35 +03:00
Close file on error path.
This commit is contained in:
parent
9c60417f73
commit
3445483e78
@ -159,6 +159,7 @@ main(int argc, char **argv)
|
||||
|
||||
if (br < 0) {
|
||||
printf("Error reading input: %s\n", strerror(errno));
|
||||
fclose(f);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user