summaryrefslogtreecommitdiff
path: root/src/connection-editor/page-wifi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection-editor/page-wifi.c')
-rw-r--r--src/connection-editor/page-wifi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/connection-editor/page-wifi.c b/src/connection-editor/page-wifi.c
index f97365dc..fad89e74 100644
--- a/src/connection-editor/page-wifi.c
+++ b/src/connection-editor/page-wifi.c
@@ -485,7 +485,7 @@ ui_to_setting (CEPageWifi *self)
const char *bssid = NULL;
char *ifname = NULL;
char *device_mac = NULL;
- const char *cloned_mac;
+ char *cloned_mac;
const char *mode;
const char *band;
GtkWidget *entry;
@@ -548,6 +548,7 @@ ui_to_setting (CEPageWifi *self)
g_bytes_unref (ssid);
g_free (ifname);
g_free (device_mac);
+ g_free (cloned_mac);
}
static gboolean