Re: [PATCH v1 0/2] platform/x86: Fixes for leaks in panasonic-laptop and toshiba-haps drivers

From: Rafael J. Wysocki

Date: Mon Jan 26 2026 - 14:01:13 EST


On Mon, Jan 26, 2026 at 3:56 PM Ilpo Järvinen
<ilpo.jarvinen@xxxxxxxxxxxxxxx> wrote:
>
> On Tue, 20 Jan 2026 16:42:41 +0100, Rafael J. Wysocki wrote:
>
> > These are two fixes for leaks in the panasonic-laptop and toshiba-haps drivers,
> > in the "probe error" and "remove" paths.
> >
> > Thanks!
> >
>
>
> Thank you for your contribution, it has been applied to my local
> review-ilpo-fixes branch. Note it will show up in the public
> platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
> local branch there, which might take a while.
>
> The list of commits applied:
> [1/2] platform/x86: panasonic-laptop: Fix sysfs group leak in error path
> commit: 43b0b7eff4b3fb684f257d5a24376782e9663465
> [2/2] platform/x86: toshiba_haps: Fix memory leaks in add/remove routines
> commit: 128497456756e1b952bd5a912cd073836465109d

Thanks!

Just to confirm, I sent a v2 of the second patch in the meantime:

https://lore.kernel.org/linux-acpi/12823935.O9o76ZdvQC@rafael.j.wysocki/

I gather that this is what you have applied. In any case, it is a
replacement for the v1.