From 592054c266dd68160ae9c79916d3130d1f5b37d2 Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Fri, 23 Sep 2011 14:43:49 +0300 Subject: tools: Fixed double-free error possibility into iptables-test --- tools/iptables-test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/iptables-test.c') diff --git a/tools/iptables-test.c b/tools/iptables-test.c index c3cf6712..35c63008 100644 --- a/tools/iptables-test.c +++ b/tools/iptables-test.c @@ -1149,6 +1149,7 @@ static struct connman_iptables *connman_iptables_init(const char *table_name) goto err; g_free(module); + module = NULL; table = g_try_new0(struct connman_iptables, 1); if (table == NULL) -- cgit v1.2.3