mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-11 08:20:30 +01:00
2005-04-06 Dan Williams <dcbw@redhat.com>
* dhcpcd/dhcpcd.c - (dhcp_interface_free): fix a file descriptor leak that may have caused network drivers to not unload due to refcounts > 0 git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@558 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
044014b1be
commit
04c1ebf3d5
2 changed files with 8 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2005-04-06 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* 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 <dcbw@redhat.com>
|
||||
|
||||
* panel-applet/NMWirelessAppletDbus.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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue