summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehyun Kim <jeik01.kim@samsung.com>2020-02-07 18:18:41 +0900
committerJaehyun Kim <jeik01.kim@samsung.com>2020-02-07 18:18:41 +0900
commit8460af05dcd14e095e5376e4e33f21819e9ae5e0 (patch)
tree62f575e61ab2dbc9a1113694379615b3153f392e
parentedbb48003da2a1c4a8bb744653bdad27c1213af5 (diff)
downloadconnman-8460af05dcd14e095e5376e4e33f21819e9ae5e0.tar.gz
connman-8460af05dcd14e095e5376e4e33f21819e9ae5e0.tar.bz2
connman-8460af05dcd14e095e5376e4e33f21819e9ae5e0.zip
Change-Id: I6c8b8e67dc8fc32f744e2cf715ea383745ec0a93 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
-rw-r--r--gsupplicant/supplicant.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c
index 0122b963..2e8af6ae 100644
--- 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);