diff options
author | Chris Lumens <clumens@redhat.com> | 2005-06-16 19:16:33 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2005-06-16 19:16:33 +0000 |
commit | a8d726380abc1282c9a64f61274a569031f92831 (patch) | |
tree | dc453bd1fd84ef012a4312ec1ed0ca1bba66eb25 | |
parent | fc5272817f4ae0e3c79d81dbfc293ea0c5a787c2 (diff) | |
download | anaconda-a8d726380abc1282c9a64f61274a569031f92831.tar.gz anaconda-a8d726380abc1282c9a64f61274a569031f92831.tar.xz anaconda-a8d726380abc1282c9a64f61274a569031f92831.zip |
Close file descriptor leak relating to reading the partition table
(Jon Burgess, #160693).
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | isys/eddsupport.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2005-06-16 Chris Lumens <clumens@redhat.com> + + * isys/eddsupport.c (readDiskSig): Close file descriptor leak + relating to reading the partition table (Jon Burgess, #160693). + 2005-06-16 Paul Nasrat <pnasrat@redhat.com> * anaconda: Fix typo breaking pseries console support diff --git a/isys/eddsupport.c b/isys/eddsupport.c index f5fe79b86..f757b9be3 100644 --- a/isys/eddsupport.c +++ b/isys/eddsupport.c @@ -182,6 +182,7 @@ static int readDiskSig(char *device, uint32_t *disksig) { return -1; } + close(fd); unlink("/tmp/biosdev"); return 0; } |