From 6300ea57ab4ee57a1afa4c76cb1d9503d78385a7 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 4 Mar 2014 18:18:13 -0500 Subject: [PATCH] libnm-glib: fix a double free in NMDeviceVlan --- libnm-glib/nm-device-vlan.c | 1 - 1 file changed, 1 deletion(-) 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); }