summaryrefslogtreecommitdiff
path: root/vpn/plugins/vici-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'vpn/plugins/vici-client.c')
-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 5eb16ff..c1361e4 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;
}