summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2005-06-16 19:16:33 +0000
committerChris Lumens <clumens@redhat.com>2005-06-16 19:16:33 +0000
commita8d726380abc1282c9a64f61274a569031f92831 (patch)
treedc453bd1fd84ef012a4312ec1ed0ca1bba66eb25 /isys
parentfc5272817f4ae0e3c79d81dbfc293ea0c5a787c2 (diff)
downloadanaconda-a8d726380abc1282c9a64f61274a569031f92831.tar.gz
anaconda-a8d726380abc1282c9a64f61274a569031f92831.tar.xz
anaconda-a8d726380abc1282c9a64f61274a569031f92831.zip
Close file descriptor leak relating to reading the partition table
(Jon Burgess, #160693).
Diffstat (limited to 'isys')
-rw-r--r--isys/eddsupport.c1
1 files changed, 1 insertions, 0 deletions
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;
}