summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/c/stuff.xs.pl1
2 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 1d1de3fb5..dd9d29667 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -6,6 +6,8 @@
- drakupdate_fstab:
o only add formatted partitions in fstab (or else it will make
subsequent boot fail)
+- fix file descriptor leak when detecting network driver
+ (mostly notable in network center and drakroam)
Version 10.29 - 3 April 2008
diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl
index 3058d4b66..a94de81fa 100644
--- a/perl-install/c/stuff.xs.pl
+++ b/perl-install/c/stuff.xs.pl
@@ -401,6 +401,7 @@ getNetDriver(char* device)
break;
}
} else { perror("SIOCETHTOOL"); RETVAL = strdup(""); }
+ close(s);
OUTPUT:
RETVAL