diff options
author | wzt.wzt@gmail.com | 2010-11-10 09:05:15 +0100 |
---|---|---|
committer | James Morris | 2010-11-10 21:36:22 +0100 |
commit | a26d279ea87e9fef2cf8a44b371e48e6091975a6 (patch) | |
tree | fe1a1a007c0fc1419e8f8e3e845ad18a377569bc /drivers | |
parent | APPARMOR: Fix memory leak of alloc_namespace() (diff) | |
download | kernel-qcow2-linux-a26d279ea87e9fef2cf8a44b371e48e6091975a6.tar.gz kernel-qcow2-linux-a26d279ea87e9fef2cf8a44b371e48e6091975a6.tar.xz kernel-qcow2-linux-a26d279ea87e9fef2cf8a44b371e48e6091975a6.zip |
APPARMOR: Fix memory leak of apparmor_init()
set_init_cxt() allocted sizeof(struct aa_task_cxt) bytes for cxt,
if register_security() failed, it will cause memory leak.
Signed-off-by: Zhitong Wang <zhitong.wangzt@alibaba-inc.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions