wzt.wzt@gmail.com a26d279ea8 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>
2010-11-11 07:36:22 +11:00
..
2010-08-02 15:35:14 +10:00
2010-08-05 07:36:51 -04:00
2010-08-02 15:35:13 +10:00
2010-10-25 21:26:12 -04:00
2010-08-02 15:35:13 +10:00
2010-08-02 15:38:37 +10:00