Re: [PATCH] objtool: fix potential memory leak special_get_alts()
From: Peter Zijlstra
Date: Thu Jul 02 2020 - 07:05:56 EST
On Thu, Jul 02, 2020 at 07:00:25PM +0800, Chen Wandun wrote:
> If get_alt_entry() return error, struct special_alt will leak.
>
> Fixes: 442f04c34a1a ("objtool: Add tool to perform compile-time stack metadata validation")
> Signed-off-by: Chen Wandun <chenwandun@xxxxxxxxxx>
https://lkml.kernel.org/r/20200427144439.rrywv56mjfypupgh@treble