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:
edbb480
)
gsupplicant: Fix memory leak
71/224271/1
accepted/tizen/unified/20200213.121529
submit/tizen/20200212.122721
author
Jaehyun Kim
<jeik01.kim@samsung.com>
Fri, 7 Feb 2020 09:18:41 +0000
(18:18 +0900)
committer
Jaehyun Kim
<jeik01.kim@samsung.com>
Fri, 7 Feb 2020 09:18:41 +0000
(18:18 +0900)
Change-Id: I6c8b8e67dc8fc32f744e2cf715ea383745ec0a93
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
gsupplicant/supplicant.c
patch
|
blob
|
history
diff --git
a/gsupplicant/supplicant.c
b/gsupplicant/supplicant.c
index
0122b96
..
2e8af6a
100644
(file)
--- a/
gsupplicant/supplicant.c
+++ b/
gsupplicant/supplicant.c
@@
-2775,7
+2775,15
@@
static void interface_bss_added_with_keys(DBusMessageIter *iter,
dbus_message_iter_next(iter);
if (dbus_message_iter_get_arg_type(iter) == DBUS_TYPE_INVALID)
+#if defined TIZEN_EXT
+ {
+ g_free(bss->path);
+ g_free(bss);
+ return;
+ }
+#else
return;
+#endif
supplicant_dbus_property_foreach(iter, bss_property, bss);