diff options
| author | Kamalesh Babulal <[email protected]> | 2017-10-19 16:27:24 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-10-20 07:43:21 +0000 |
| commit | b703798386fb7288d5a995bd2284a984a5e24f3c (patch) | |
| tree | a51030fa33b9ecdeabb603ea0975bd7c355687ec /tools/lib/subcmd/help.c | |
| parent | Merge tag 'pm-4.14-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafa... (diff) | |
| download | kernel-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/subcmd/help.c')
0 files changed, 0 insertions, 0 deletions
