projects
/
wrapfs-3.2.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3423e2b
)
nf_conntrack_h323: fix memory leak in module initialization error path
author
Patrick McHardy
<kaber@trash.net>
Thu, 19 Jun 2008 13:05:45 +0000
(15:05 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sun, 22 Jun 2008 05:24:56 +0000
(22:24 -0700)
netfilter: nf_conntrack_h323: fix memory leak in module initialization error path
Upstream commit
8a548868db62422113104ebc658065e3fe976951
Properly free h323_buffer when helper registration fails.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/netfilter/nf_conntrack_h323_main.c
patch
|
blob
|
history
diff --git
a/net/netfilter/nf_conntrack_h323_main.c
b/net/netfilter/nf_conntrack_h323_main.c
index ea48f71845145286805de0fdb5255b30ee92678e..7407dd37b4e8252f3c015858505411d866e36448 100644
(file)
--- a/
net/netfilter/nf_conntrack_h323_main.c
+++ b/
net/netfilter/nf_conntrack_h323_main.c
@@
-1799,6
+1799,7
@@
err3:
err2:
nf_conntrack_helper_unregister(&nf_conntrack_helper_h245);
err1:
+ kfree(h323_buffer);
return ret;
}