summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2011-07-01 11:01:07 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2011-07-06 11:22:52 +0200
commit37e594e654a074af246e16504e1a4ab14f417092 (patch)
treed980cd3fdf72a3a28d9c234f5a5427f62870bf1e /src
parent951e6bb5cb821b3e9ff417b5ce43ea75133153e7 (diff)
downloadconnman-37e594e654a074af246e16504e1a4ab14f417092.tar.gz
connman-37e594e654a074af246e16504e1a4ab14f417092.tar.bz2
connman-37e594e654a074af246e16504e1a4ab14f417092.zip
provider: Fix memory leak; free provider->host in provider destruct
Diffstat (limited to 'src')
-rw-r--r--src/provider.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/provider.c b/src/provider.c
index afbfeeb3..5bc8c40e 100644
--- a/src/provider.c
+++ b/src/provider.c
@@ -156,6 +156,7 @@ static void provider_destruct(struct connman_provider *provider)
g_free(provider->name);
g_free(provider->type);
+ g_free(provider->host);
g_free(provider->domain);
g_free(provider->identifier);
g_hash_table_destroy(provider->routes);