diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2012-11-12 14:07:40 +0200 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-11-23 12:58:51 +0200 |
commit | 42104cd4b9cf6a782ce489a229e306c17772e9bd (patch) | |
tree | 1fc15635a3afec9604a022459aaa8701d58418b8 /vpn/vpn-provider.c | |
parent | 7a2d659d0a862f3f78219e68e2e960e97b39d8b9 (diff) | |
download | connman-42104cd4b9cf6a782ce489a229e306c17772e9bd.tar.gz connman-42104cd4b9cf6a782ce489a229e306c17772e9bd.tar.bz2 connman-42104cd4b9cf6a782ce489a229e306c17772e9bd.zip |
vpn: Free allocated ipconfig struct
Diffstat (limited to 'vpn/vpn-provider.c')
-rw-r--r-- | vpn/vpn-provider.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vpn/vpn-provider.c b/vpn/vpn-provider.c index 982b2809..72bf6863 100644 --- a/vpn/vpn-provider.c +++ b/vpn/vpn-provider.c @@ -917,6 +917,9 @@ static void provider_destruct(struct vpn_provider *provider) g_resolv_unref(provider->resolv); provider->resolv = NULL; } + __vpn_ipconfig_unref(provider->ipconfig_ipv4); + __vpn_ipconfig_unref(provider->ipconfig_ipv6); + g_strfreev(provider->host_ip); g_free(provider); } |