projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8810cd1
)
Fix memory leak
54/158554/1
author
Seonah Moon
<seonah1.moon@samsung.com>
Thu, 2 Nov 2017 01:01:45 +0000
(10:01 +0900)
committer
Seonah Moon
<seonah1.moon@samsung.com>
Thu, 2 Nov 2017 01:02:06 +0000
(10:02 +0900)
Change-Id: I6085b4b3cfe0587d559f4badda855a832380d6dd
gsupplicant/supplicant.c
patch
|
blob
|
history
diff --git
a/gsupplicant/supplicant.c
b/gsupplicant/supplicant.c
index
67a1843
..
f3f2b40
100755
(executable)
--- 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",