[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176848723129.21830.12668606788089756281.b4-ty@linux.intel.com>
Date: Thu, 15 Jan 2026 16:27:11 +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-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/amd: Fix memory leak in wbrf_record()
commit: 2bf1877b7094c684e1d652cac6912cfbc507ad3e
[2/2] platform/x86/amd: Use scope-based cleanup for wbrf_record()
(no commit info)
--
i.
Powered by blists - more mailing lists