[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LSU.2.21.2203021008340.5895@pobox.suse.cz>
Date: Wed, 2 Mar 2022 10:09:46 +0100 (CET)
From: Miroslav Benes <mbenes@...e.cz>
To: Zong Cao <cz18811105578@...il.com>
cc: jpoimboe@...hat.com, peterz@...radead.org, mingo@...nel.org,
bp@...e.de, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] objtool: Fix memory leak in objtool_create_backup
Hi,
On Wed, 2 Mar 2022, cz18811105578@...il.com wrote:
> From: Zong Cao <cz18811105578@...il.com>
>
> The error handling branch did not properly free the memory before
> return, which would cause memory leak.
yes, but objtool exits immediately in those cases so this is not really
needed in the end.
Regards
Miroslav
Powered by blists - more mailing lists