NetworkManager/src/devices
Thomas Haller 3eb1d5e902 core: cleanup freeing of glib collections of pointers
When freeing one of the collections such as GArray, GPtrArray, GSList,
etc. it is common that the items inside the connections must be
freed/unrefed too.

The previous code often iterated over the collection first with
e.g. g_ptr_array_foreach and passing e.g. g_free as GFunc argument.
For one, this has the problem, that g_free has a different signature
GDestroyNotify then the expected GFunc. Moreover, this can be
simplified either by setting a clear function
(g_ptr_array_set_clear_func) or by passing the destroy function to the
free function (g_slist_free_full).

Signed-off-by: Thomas Haller <thaller@redhat.com>
2013-10-22 19:53:57 +02:00
..
wimax core: cleanup freeing of glib collections of pointers 2013-10-22 19:53:57 +02:00
nm-device-adsl.c core: minor code cleanup to use preprocessor constants 2013-08-12 13:31:33 -05:00
nm-device-adsl.h core: move carrier handling to NMDevice 2013-05-20 16:38:33 -03:00
nm-device-bond.c core: move software device creation logic out of NMManager 2013-09-12 18:34:23 -04:00
nm-device-bond.h core: move software device creation logic out of NMManager 2013-09-12 18:34:23 -04:00
nm-device-bridge.c core: fix crash for bridge-slave with missing NMSettingBridgePort setting 2013-10-11 19:53:33 +02:00
nm-device-bridge.h core: move software device creation logic out of NMManager 2013-09-12 18:34:23 -04:00
nm-device-bt.c core: don't run Bluetooth disconnect unless the device was connected 2013-09-26 15:50:00 -05:00
nm-device-bt.h bluez: pass the NMBluezDevice down to the NMDeviceBt 2013-09-25 21:01:03 +02:00
nm-device-ethernet.c core: implement :mtu and :cloned-mac-address for VLAN 2013-09-12 18:34:23 -04:00
nm-device-ethernet.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-factory.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-generic.c devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-generic.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-gre.c core: fix segfault on initialization of macvlan and gre device 2013-08-22 20:40:53 +02:00
nm-device-gre.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-infiniband.c infiniband: only check the last 8 bytes when doing hwaddr matches 2013-09-24 11:54:35 -04:00
nm-device-infiniband.h core: move software device creation logic out of NMManager 2013-09-12 18:34:23 -04:00
nm-device-macvlan.c core: fix segfault on initialization of macvlan and gre device 2013-08-22 20:40:53 +02:00
nm-device-macvlan.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-modem.c core: let device classes indicate their HW address will never change (bgo #701744) 2013-07-22 15:56:34 -05:00
nm-device-modem.h core: make nm-properties-changed-signal always export the right properties 2013-05-20 16:38:33 -03:00
nm-device-olpc-mesh.c core: add NMManager:startup property 2013-08-16 17:27:34 -04:00
nm-device-olpc-mesh.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-private.h core: implement :mtu and :cloned-mac-address for VLAN 2013-09-12 18:34:23 -04:00
nm-device-team.c team: do not g_source_remove after g_child_watch_add signal was emitted 2013-10-02 20:07:22 +02:00
nm-device-team.h core: move software device creation logic out of NMManager 2013-09-12 18:34:23 -04:00
nm-device-tun.c core: turn link_changed() into a proper virtual function 2013-07-29 13:51:13 +02:00
nm-device-tun.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-veth.c devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-veth.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device-vlan.c core: implement :mtu and :cloned-mac-address for VLAN 2013-09-12 18:34:23 -04:00
nm-device-vlan.h core: move software device creation logic out of NMManager 2013-09-12 18:34:23 -04:00
nm-device-wifi.c Fix typos 2013-10-19 11:49:18 -04:00
nm-device-wifi.h devices: make constructors take an NMPlatformLink 2013-06-05 17:49:25 -03:00
nm-device.c core: cleanup freeing of glib collections of pointers 2013-10-22 19:53:57 +02:00
nm-device.h core: remove nm_device_hwaddr_matches() / get_connection_hw_address() 2013-09-12 18:34:23 -04:00