aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/api/cpu.c
diff options
context:
space:
mode:
authorKamalesh Babulal <[email protected]>2017-10-19 16:27:24 +0000
committerIngo Molnar <[email protected]>2017-10-20 07:43:21 +0000
commitb703798386fb7288d5a995bd2284a984a5e24f3c (patch)
treea51030fa33b9ecdeabb603ea0975bd7c355687ec /tools/lib/api/cpu.c
parentMerge tag 'pm-4.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafa... (diff)
downloadkernel-b703798386fb7288d5a995bd2284a984a5e24f3c.tar.gz
kernel-b703798386fb7288d5a995bd2284a984a5e24f3c.zip
objtool: Fix memory leak in decode_instructions()
When an error occurs before adding an allocated insn to the list, free it before returning. Signed-off-by: Kamalesh Babulal <[email protected]> Signed-off-by: Josh Poimboeuf <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/336da800bf6070eae11f4e0a3b9ca64c27658114.1508430423.git.jpoimboe@redhat.com Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/lib/api/cpu.c')
0 files changed, 0 insertions, 0 deletions