projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ec2264
)
tools: Fixed double-free error possibility into iptables-test
author
Tomasz Bursztyka
<tomasz.bursztyka@linux.intel.com>
Fri, 23 Sep 2011 11:43:49 +0000
(14:43 +0300)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 29 Sep 2011 15:53:00 +0000
(17:53 +0200)
tools/iptables-test.c
patch
|
blob
|
history
diff --git
a/tools/iptables-test.c
b/tools/iptables-test.c
index
c3cf671
..
35c6300
100644
(file)
--- 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)