diff --git a/ChangeLog b/ChangeLog index 375b9fdce5..4326773e07 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-04-06 Dan Williams + + * dhcpcd/dhcpcd.c + - (dhcp_interface_free): fix a file descriptor leak that may have + caused network drivers to not unload due to refcounts > 0 + 2005-04-04 Dan Williams * panel-applet/NMWirelessAppletDbus.c diff --git a/dhcpcd/dhcpcd.c b/dhcpcd/dhcpcd.c index 1cdcbe648c..bde430febd 100644 --- a/dhcpcd/dhcpcd.c +++ b/dhcpcd/dhcpcd.c @@ -245,6 +245,8 @@ void dhcp_interface_free (dhcp_interface *iface) if (iface->foo_sk >= 0) close (iface->foo_sk); + if (iface->sk >= 0) + close (iface->sk); free (iface->iface); free (iface->client_options); free (iface);