Re: [PATCH] platform/x86: asus-armoury: fix Use-After-Free and memory leak in driver init

From: Marco Scardovi

Date: Wed Jul 01 2026 - 12:38:11 EST


In data mercoledì 1 luglio 2026 13:01:12 Ora legale dell’Europa centrale, Ilpo Järvinen ha scritto:
> On Sun, 14 Jun 2026, Marco Scardovi wrote:
>
> > ...
>
> Why do you need to set these to NULL?
>
> I'd also prefer to use goto + rollback path pattern even if there's only
> one entry at this point.
>
Hi Ilpo,

thanks for looking into it. If I have to be completely honest is because
I didn't think at it as a solution: I'd also prefer to use goto + rollback.
I'll open a new thread with your suggestion.

With best regards,
Marco