From: Dan Carpenter Date: Sat, 13 Mar 2010 11:14:22 +0000 (+0300) Subject: tomoyo: fix potential use after free X-Git-Tag: v2.6.34-rc2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=181427a7e01beab76c789414334375839f026128;p=pandora-kernel.git tomoyo: fix potential use after free The original code returns a freed pointer. This function is expected to return NULL on errors. Signed-off-by: Dan Carpenter Acked-by: Tetsuo Handa Signed-off-by: James Morris --- Reading git-diff-tree failed