aboutsummaryrefslogtreecommitdiffstats
path: root/net/econet
diff options
context:
space:
mode:
authorJesper Juhl <jesper.juhl@gmail.com>2006-05-19 05:15:13 -0400
committerDavid S. Miller <davem@davemloft.net>2006-05-19 05:15:13 -0400
commit493e2428aa1db0e592736ad15885c6ed1e81b8af (patch)
treeabfa2a9540b4c84ce0cb33819398a792e3914ed9 /net/econet
parenta54c9d30dbb06391ec4422aaf0e1dc2c8c53bd3e (diff)
[NETFILTER]: Fix memory leak in ipt_recent
The Coverity checker spotted that we may leak 'hold' in net/ipv4/netfilter/ipt_recent.c::checkentry() when the following is true: if (!curr_table->status_proc) { ... if(!curr_table) { ... return 0; <-- here we leak. Simply moving an existing vfree(hold); up a bit avoids the possible leak. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/econet')
0 files changed, 0 insertions, 0 deletions