summaryrefslogtreecommitdiff
path: root/vpn
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-11-12 14:07:40 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-11-23 12:58:51 +0200
commit42104cd4b9cf6a782ce489a229e306c17772e9bd (patch)
tree1fc15635a3afec9604a022459aaa8701d58418b8 /vpn
parent7a2d659d0a862f3f78219e68e2e960e97b39d8b9 (diff)
downloadconnman-42104cd4b9cf6a782ce489a229e306c17772e9bd.tar.gz
connman-42104cd4b9cf6a782ce489a229e306c17772e9bd.tar.bz2
connman-42104cd4b9cf6a782ce489a229e306c17772e9bd.zip
vpn: Free allocated ipconfig struct
Diffstat (limited to 'vpn')
-rw-r--r--vpn/vpn-provider.c3
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);
}