diff options
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; } |