summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2017-11-02 01:01:45 (GMT)
committerSeonah Moon <seonah1.moon@samsung.com>2017-11-02 01:02:06 (GMT)
commit311671f25c40a3b5fb0f340b47e785b814a0aaa4 (patch)
tree60f4ff7e5196e607adef23a2413eda764d1e7065
parent8810cd173465b340be47b57f43ef6ceb836912e4 (diff)
downloadconnman-311671f25c40a3b5fb0f340b47e785b814a0aaa4.zip
connman-311671f25c40a3b5fb0f340b47e785b814a0aaa4.tar.gz
connman-311671f25c40a3b5fb0f340b47e785b814a0aaa4.tar.bz2
Change-Id: I6085b4b3cfe0587d559f4badda855a832380d6dd
-rwxr-xr-xgsupplicant/supplicant.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c
index 67a1843..f3f2b40 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",