aboutsummaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2014-06-15 01:19:02 +0900
committerMister Oyster <oysterized@gmail.com>2017-05-24 02:55:20 +0200
commit983b50c955c01182e809679f00d0e799d2177425 (patch)
tree3592409cf1e5c9a11a9b38e91e1dc76d32a6b2a6 /scripts/const_structs.checkpatch
parent1d2dc9679e5719e1649335b22dec4daceeeb2dd1 (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> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions