summaryrefslogtreecommitdiff
path: root/libnm-glib
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-03-04 18:18:13 -0500
committerDan Winship <danw@gnome.org>2014-03-05 11:20:54 -0500
commit6300ea57ab4ee57a1afa4c76cb1d9503d78385a7 (patch)
tree8d5233d15d7c3fe0a2741aab7dfb845bc8462a04 /libnm-glib
parent50dea202a88da297c90494803c74a953cd662392 (diff)
downloadNetworkManager-6300ea57ab4ee57a1afa4c76cb1d9503d78385a7.tar.gz
libnm-glib: fix a double free in NMDeviceVlan
Diffstat (limited to 'libnm-glib')
-rw-r--r--libnm-glib/nm-device-vlan.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libnm-glib/nm-device-vlan.c b/libnm-glib/nm-device-vlan.c
index 5037441c22..07c7e1a4a9 100644
--- a/libnm-glib/nm-device-vlan.c
+++ b/libnm-glib/nm-device-vlan.c
@@ -198,7 +198,6 @@ connection_compatible (NMDevice *device, NMConnection *connection, GError **erro
if (!g_strcmp0 (mac_address_str, NM_DEVICE_VLAN_GET_PRIVATE (device)->hw_address)) {
g_set_error (error, NM_DEVICE_VLAN_ERROR, NM_DEVICE_VLAN_ERROR_MAC_MISMATCH,
"The hardware address of the device and the connection didn't match.");
- g_free (mac_address_str);
}
g_free (mac_address_str);
}