[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176943780190.10029.6868012389297386604.b4-ty@linux.intel.com>
Date: Mon, 26 Jan 2026 16:30:01 +0200
From: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
To: hansg@...nel.org, Zilin Guan <zilin@....edu.cn>
Cc: platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org,
Jianhao Xu <jianhao.xu@....edu.cn>
Subject: Re: [PATCH v3 1/2] platform/x86/amd: Fix memory leak in
wbrf_record()
On Tue, 06 Jan 2026 09:13:17 +0000, Zilin Guan wrote:
> The tmp buffer is allocated using kcalloc() but is not freed if
> acpi_evaluate_dsm() fails. This causes a memory leak in the error path.
>
> Fix this by explicitly freeing the tmp buffer in the error handling
> path of acpi_evaluate_dsm().
>
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.
The list of commits applied:
[1/2] platform/x86/amd: Fix memory leak in wbrf_record()
(no commit info)
[2/2] platform/x86/amd: Use scope-based cleanup for wbrf_record()
commit: 2ee832305a25657d7cfb577bc30d8c1d43bfb951
--
i.
Powered by blists - more mailing lists