From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752501AbdJLQKU (ORCPT ); Thu, 12 Oct 2017 12:10:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53270 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751901AbdJLQKT (ORCPT ); Thu, 12 Oct 2017 12:10:19 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com D5A95C047B7B Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=jpoimboe@redhat.com Date: Thu, 12 Oct 2017 11:10:16 -0500 From: Josh Poimboeuf To: Kamalesh Babulal Cc: linux-kernel@vger.kernel.org, Ingo Molnar Subject: Re: [PATCH] objtool: Fix memory leak in decode_instructions() Message-ID: <20171012161016.z4ytxmm2rbfiewbl@treble> References: <1507798934-18140-1-git-send-email-kamalesh@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1507798934-18140-1-git-send-email-kamalesh@linux.vnet.ibm.com> User-Agent: Mutt/1.6.0.1 (2016-04-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Thu, 12 Oct 2017 16:10:19 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Any chance you're working on porting objtool to ppc64le? :-) Acked-by: Josh Poimboeuf -- Josh