projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4e8176
)
vpn: Host IP address was not freed
author
Jukka Rissanen
<jukka.rissanen@linux.intel.com>
Sun, 7 Apr 2013 14:53:49 +0000
(17:53 +0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Mon, 8 Apr 2013 06:16:59 +0000
(09:16 +0300)
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
patch
|
blob
|
history
diff --git
a/plugins/vpn.c
b/plugins/vpn.c
index
a0c6928
..
400112e
100644
(file)
--- 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);