From: wzt.wzt@gmail.com Date: Wed, 10 Nov 2010 08:05:15 +0000 (+0800) Subject: APPARMOR: Fix memory leak of apparmor_init() X-Git-Tag: v2.6.37-rc2~35^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a26d279ea87e9fef2cf8a44b371e48e6091975a6;p=pandora-kernel.git 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 Signed-off-by: John Johansen Signed-off-by: James Morris --- Reading git-diff-tree failed