summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-04-07 17:53:49 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-04-08 09:16:59 +0300
commit715989c32fb995916c429763f08b573f417b32c3 (patch)
tree94b9803248c0c7bb1816c52f30113ed8b958dcf1 /plugins
parente4e8176fbc76036f2576ce5864c6edc2204c1d87 (diff)
downloadconnman-715989c32fb995916c429763f08b573f417b32c3.tar.gz
connman-715989c32fb995916c429763f08b573f417b32c3.tar.bz2
connman-715989c32fb995916c429763f08b573f417b32c3.zip
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 a0c6928a..400112e7 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);