normal/main: Fix error handling.
Found by: Coverity scan.
This commit is contained in:
parent
a05a6e6f92
commit
73b1e83839
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ read_config_file (const char *config)
|
||||||
file = grub_bufio_open (rawfile, 0);
|
file = grub_bufio_open (rawfile, 0);
|
||||||
if (! file)
|
if (! file)
|
||||||
{
|
{
|
||||||
grub_file_close (file);
|
grub_file_close (rawfile);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue