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

From: Kamalesh Babulal
Date: Fri Oct 13 2017 - 00:45:14 EST


On Thursday 12 October 2017 09:40 PM, Josh Poimboeuf wrote:
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>


Thanks for the review. I have started working on it :)

--
cheers,
Kamalesh.