diff options
author | majianpeng <majianpeng@gmail.com> | 2012-04-16 19:58:28 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-18 00:20:28 -0400 |
commit | 798ec84d45754403571d6387396236e877965c5a (patch) | |
tree | 7f1c573b784c480a4ebfc1129ff916952e5a66ef | |
parent | 7f593881089084640bffeb93c9cc49077afcec81 (diff) |
net/core:Remove memleak reports by kmemleak_not_leak.
Signed-off-by: majianpeng <majianpeng@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/core/sysctl_net_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c index 0c285087425..cee59919026 100644 --- a/net/core/sysctl_net_core.c +++ b/net/core/sysctl_net_core.c @@ -256,7 +256,7 @@ static __init int sysctl_core_init(void) { static struct ctl_table empty[1]; - register_sysctl_paths(net_core_path, empty); + kmemleak_not_leak(register_sysctl_paths(net_core_path, empty)); register_net_sysctl_rotable(net_core_path, net_core_table); return register_pernet_subsys(&sysctl_core_ops); } |