mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 12:10:10 +01:00
2005-09-04 Dan Williams <dcbw@redhat.com>
Patch from John Palmieri <johnp@redhat.com> * gnome/applet/nm-device.c - (nm_device_unref): clear network_device's memory _before_ freeing it git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@932 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
78baf9f309
commit
2367f1e800
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2005-09-04 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
Patch from John Palmieri <johnp@redhat.com>
|
||||
* gnome/applet/nm-device.c
|
||||
- (nm_device_unref): clear network_device's memory _before_ freeing it
|
||||
|
||||
2005-09-02 Christopher Aillon <caillon@redhat.com>
|
||||
|
||||
* gnome/applet/applet.c: Use a check menu item for Wireless Enabled
|
||||
|
|
|
|||
|
|
@ -150,8 +150,8 @@ void network_device_unref (NetworkDevice *dev)
|
|||
g_free (dev->udi);
|
||||
g_free (dev->desc);
|
||||
g_free (dev->addr);
|
||||
g_free (dev);
|
||||
memset (dev, 0, sizeof (NetworkDevice));
|
||||
g_free (dev);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue