summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gclue-wifi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gclue-wifi.c b/src/gclue-wifi.c
index 946cb81..11ff95b 100644
--- a/src/gclue-wifi.c
+++ b/src/gclue-wifi.c
@@ -227,7 +227,7 @@ static char *
get_bssid_from_bss (WPABSS *bss)
{
GVariant *variant;
- char *raw_bssid;
+ g_autofree char *raw_bssid = NULL;
char *bssid;
guint raw_len, len, i, j;