[PATCH memleak service 3/3] memoryleak: IPv6 gateway was not freed

Jukka Rissanen jukka.rissanen at nokia.com
Wed Jan 5 05:14:13 PST 2011


---
 src/connection.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/connection.c b/src/connection.c
index bfd19b5..789a242 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -221,6 +221,7 @@ static int remove_gateway(struct gateway_data *data)
 		err = 0;
 
 	g_free(data->ipv4_gateway);
+	g_free(data->ipv6_gateway);
 	g_free(data->vpn_ip);
 	g_free(data);
 
-- 
1.7.0.4




More information about the connman mailing list