diff options
Diffstat (limited to 'clients/tui/nmt-device-entry.c')
| -rw-r--r-- | clients/tui/nmt-device-entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/tui/nmt-device-entry.c b/clients/tui/nmt-device-entry.c index 4ab59329..264bd59d 100644 --- a/clients/tui/nmt-device-entry.c +++ b/clients/tui/nmt-device-entry.c @@ -299,7 +299,7 @@ nmt_device_entry_set_mac_address (NmtDeviceEntry *deventry, priv->mac_address = g_strdup (mac_address); changed = TRUE; } else if (!mac_address && priv->mac_address) { - g_clear_pointer (&priv->mac_address, g_free); + nm_clear_g_free (&priv->mac_address); changed = TRUE; } else if ( mac_address && priv->mac_address && !nm_utils_hwaddr_matches (mac_address, -1, priv->mac_address, -1)) { |