From: Namhyung Kim Date: Sat, 14 Jun 2014 16:19:02 +0000 (+0900) Subject: selinux: fix a possible memory leak in cond_read_node() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~100^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e51f9cbfa04a92b40e7f9c1e76c8ecbff534a22;p=pandora-kernel.git selinux: fix a possible memory leak in cond_read_node() The cond_read_node() should free the given node on error path as it's not linked to p->cond_list yet. This is done via cond_node_destroy() but it's not called when next_entry() fails before the expr loop. Signed-off-by: Namhyung Kim Signed-off-by: Paul Moore --- Reading git-diff-tree failed