The host ip address field is only used if user has given vpn
server as a host name instead of host ip address.
---
 plugins/vpn.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins/vpn.c b/plugins/vpn.c
index 7a768c8..0c7eea2 100644
--- a/plugins/vpn.c
+++ b/plugins/vpn.c
@@ -1479,6 +1479,7 @@ static void connection_destroy(gpointer hash_data)
        g_free(data->type);
        g_free(data->name);
        g_free(data->host);
+       g_free(data->host_ip);
        g_free(data->domain);
        g_hash_table_destroy(data->server_routes);
        g_hash_table_destroy(data->user_routes);
-- 
1.7.11.7

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to