summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2011-09-23 14:43:49 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2011-09-29 17:53:00 +0200
commit592054c266dd68160ae9c79916d3130d1f5b37d2 (patch)
treeb474126da3ccf5f2d11d1d86477c435122989318 /tools
parent4ec226498ebf1a74f656b372bb5d8d6e6e4c18f2 (diff)
downloadconnman-592054c266dd68160ae9c79916d3130d1f5b37d2.tar.gz
connman-592054c266dd68160ae9c79916d3130d1f5b37d2.tar.bz2
connman-592054c266dd68160ae9c79916d3130d1f5b37d2.zip
tools: Fixed double-free error possibility into iptables-test
Diffstat (limited to 'tools')
-rw-r--r--tools/iptables-test.c1
1 files changed, 1 insertions, 0 deletions
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)