* 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
|
@ -1,3 +1,9 @@
|
||||||
|
2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* util/raid.c (grub_util_raid_getmembers): Close fd before returning.
|
||||||
|
|
||||||
|
Reported by: David Volgyes <dvolgyes>.
|
||||||
|
|
||||||
2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/lib/reed_solomon.c (rs_recover) [STANDALONE]:
|
* grub-core/lib/reed_solomon.c (rs_recover) [STANDALONE]:
|
||||||
|
|
|
@ -80,6 +80,8 @@ grub_util_raid_getmembers (const char *name)
|
||||||
|
|
||||||
devicelist[j] = NULL;
|
devicelist[j] = NULL;
|
||||||
|
|
||||||
|
close (fd);
|
||||||
|
|
||||||
return devicelist;
|
return devicelist;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue