commit | 6e51f9cbfa04a92b40e7f9c1e76c8ecbff534a22 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@kernel.org> | Sun Jun 15 01:19:02 2014 +0900 |
committer | Paul Moore <pmoore@redhat.com> | Thu Jun 19 14:56:59 2014 -0400 |
tree | 1fb97b53d5b40ceb9df33f43743ca232332d794f | |
parent | f004afe60db5b98f2b981978fde8a0d4c6298c5d [diff] |
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 <namhyung@kernel.org> Signed-off-by: Paul Moore <pmoore@redhat.com>