[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200615104702.GN2497@hirez.programming.kicks-ass.net>
Date: Mon, 15 Jun 2020 12:47:02 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Miroslav Benes <mbenes@...e.cz>
Cc: Tobias Klauser <tklauser@...tanz.ch>,
Josh Poimboeuf <jpoimboe@...hat.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] objtool: Free memory in error case in special_get_alts
On Mon, Jun 15, 2020 at 12:40:32PM +0200, Miroslav Benes wrote:
> Hi,
>
> On Fri, 12 Jun 2020, Tobias Klauser wrote:
>
> > Avoid a memory leak in case get_alt_entry returns an error.
>
> yes, this is not the only one, but I doubt we want to spend time on that.
> The process is about to exit anyway.
Right, that's just wasting cycles.
Powered by blists - more mailing lists