summaryrefslogtreecommitdiff
path: root/vpn
diff options
context:
space:
mode:
authorchleun.moon <chleun.moon@samsung.com>2017-05-31 18:14:32 +0900
committerchleun.moon <chleun.moon@samsung.com>2017-05-31 18:14:40 +0900
commit6eab13e3a722e2e155401018e3740d3f96235a24 (patch)
tree3a5960c8ccfbdd0ddfe405cc1fc7d08a08a4ead7 /vpn
parentdf41b6c50c74d2310a51e5cdeb3defcecbc5a7c7 (diff)
downloadconnman-6eab13e3a722e2e155401018e3740d3f96235a24.tar.gz
connman-6eab13e3a722e2e155401018e3740d3f96235a24.tar.bz2
connman-6eab13e3a722e2e155401018e3740d3f96235a24.zip
Change-Id: Ia3f6081ce49035f6b9126001161c6e804af71e3a Signed-off-by: cheoleun <chleun.moon@samsung.com>
Diffstat (limited to 'vpn')
-rw-r--r--vpn/plugins/vici-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpn/plugins/vici-client.c b/vpn/plugins/vici-client.c
index 5eb16ff1..c1361e41 100644
--- a/vpn/plugins/vici-client.c
+++ b/vpn/plugins/vici-client.c
@@ -235,7 +235,7 @@ static void add_list_to_section(char *key, GSList *list, VICISection *section)
if (section == NULL || key == NULL || list == NULL)
return;
- g_hash_table_insert(section->kvls, g_strdup(key), g_slist_copy(list));
+ g_hash_table_insert(section->kvls, g_strdup(key), g_slist_copy_deep(list, (GCopyFunc)g_strdup, NULL));
return;
}