Re: [PATCH] objtool: Fix memory leak in decode_instructions()

From: Josh Poimboeuf
Date: Thu Oct 12 2017 - 12:10:22 EST


On Thu, Oct 12, 2017 at 02:32:14PM +0530, Kamalesh Babulal wrote:
> free the allocated insn before returning, when an error occurs
> before adding insn to file->insn_list.
>
> Signed-off-by: Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx>

Any chance you're working on porting objtool to ppc64le? :-)

Acked-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>

--
Josh