From 70c24bf12e8021c90475c31a488a78470b6bbf01 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Wed, 5 Jan 2011 15:14:13 +0200 Subject: [PATCH] memoryleak: IPv6 gateway was not freed --- src/connection.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.7.4