aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorJesper Juhl <[email protected]>2006-05-19 02:15:13 -0700
committerDavid S. Miller <[email protected]>2006-05-19 02:15:13 -0700
commit493e2428aa1db0e592736ad15885c6ed1e81b8af (patch)
treeabfa2a9540b4c84ce0cb33819398a792e3914ed9 /scripts/basic/split-include.c
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 <[email protected]> Signed-off-by: Patrick McHardy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions