diff options
author | 2007-08-01 11:12:59 -0400 | |
---|---|---|
committer | 2007-08-02 11:52:26 -0400 | |
commit | e6e0871cce2ae04f5790543ad2f4ec36b23260ba (patch) | |
tree | 0af9d48482dbdb8b949fb673eb5bf48fd5611cc5 /include/linux/kernel.h | |
parent | SELinux: remove redundant pointer checks before calling kfree() (diff) | |
download | wireguard-linux-e6e0871cce2ae04f5790543ad2f4ec36b23260ba.tar.xz wireguard-linux-e6e0871cce2ae04f5790543ad2f4ec36b23260ba.zip |
Net/Security: fix memory leaks from security_secid_to_secctx()
The security_secid_to_secctx() function returns memory that must be freed
by a call to security_release_secctx() which was not always happening. This
patch fixes two of these problems (all that I could find in the kernel source
at present).
Signed-off-by: Paul Moore <paul.moore@hp.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions