* util/raid.c (grub_util_raid_getmembers): Close fd before returning.
Reported by: David Volgyes <dvolgyes>.
This commit is contained in:
parent
e061a1b537
commit
13548d26e9
2 changed files with 8 additions and 0 deletions
|
@ -80,6 +80,8 @@ grub_util_raid_getmembers (const char *name)
|
|||
|
||||
devicelist[j] = NULL;
|
||||
|
||||
close (fd);
|
||||
|
||||
return devicelist;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue