aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorKamalesh Babulal <[email protected]>2017-10-19 11:27:24 -0500
committerIngo Molnar <[email protected]>2017-10-20 09:43:21 +0200
commitb703798386fb7288d5a995bd2284a984a5e24f3c (patch)
treea51030fa33b9ecdeabb603ea0975bd7c355687ec /scripts/patch-kernel
parentce43f4fd6f103681c7485c2b1967179647e73555 (diff)
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions