summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-04-07 14:53:49 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-04-08 06:16:59 (GMT)
commit715989c32fb995916c429763f08b573f417b32c3 (patch)
tree94b9803248c0c7bb1816c52f30113ed8b958dcf1 /plugins
parente4e8176fbc76036f2576ce5864c6edc2204c1d87 (diff)
downloadconnman-715989c32fb995916c429763f08b573f417b32c3.zip
connman-715989c32fb995916c429763f08b573f417b32c3.tar.gz
connman-715989c32fb995916c429763f08b573f417b32c3.tar.bz2
vpn: Host IP address was not freed
The host ip address field is only used if user has given vpn server as a host name instead of host ip address.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/vpn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/vpn.c b/plugins/vpn.c
index a0c6928..400112e 100644
--- a/plugins/vpn.c
+++ b/plugins/vpn.c
@@ -1480,6 +1480,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);