summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 0405f9207..e48e9c7e6 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,5 +1,7 @@
- drakupdate_fstab: make sure removable disks are not fs-checked on boot
(regression introduced in 10.6.3)
+- fix file descriptor leak when detecting network driver
+ (mostly notable in network center and drakroam)
Version 10.29.7 - 03 June 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