diff options
author | chleun.moon <chleun.moon@samsung.com> | 2017-05-31 18:14:32 +0900 |
---|---|---|
committer | chleun.moon <chleun.moon@samsung.com> | 2017-05-31 18:14:40 +0900 |
commit | 6eab13e3a722e2e155401018e3740d3f96235a24 (patch) | |
tree | 3a5960c8ccfbdd0ddfe405cc1fc7d08a08a4ead7 /vpn | |
parent | df41b6c50c74d2310a51e5cdeb3defcecbc5a7c7 (diff) | |
download | connman-6eab13e3a722e2e155401018e3740d3f96235a24.tar.gz connman-6eab13e3a722e2e155401018e3740d3f96235a24.tar.bz2 connman-6eab13e3a722e2e155401018e3740d3f96235a24.zip |
Fix crash during g_hash_table_destroy()submit/tizen/20170601.042236accepted/tizen/unified/20170602.154235
Change-Id: Ia3f6081ce49035f6b9126001161c6e804af71e3a
Signed-off-by: cheoleun <chleun.moon@samsung.com>
Diffstat (limited to 'vpn')
-rw-r--r-- | vpn/plugins/vici-client.c | 2 |
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; } |