summaryrefslogtreecommitdiff
path: root/gsupplicant/supplicant.c
diff options
context:
space:
mode:
Diffstat (limited to 'gsupplicant/supplicant.c')
-rwxr-xr-xgsupplicant/supplicant.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c
index 67a18433..f3f2b403 100755
--- a/gsupplicant/supplicant.c
+++ b/gsupplicant/supplicant.c
@@ -5036,6 +5036,7 @@ static void interface_add_network_params(DBusMessageIter *iter, void *user_data)
bssid = g_try_malloc0(18);
if (bssid == NULL) {
SUPPLICANT_DBG("memory allocation error");
+ supplicant_dbus_dict_close(iter, &dict);
return;
}
snprintf(bssid, 18, "%02x:%02x:%02x:%02x:%02x:%02x",