Re: [PATCH v4] platform/x86: intel_pmc_ipc: fix ACPI buffer memory leak
From: Ilpo Järvinen
Date: Mon Dec 01 2025 - 05:28:39 EST
On Fri, 28 Nov 2025 18:24:38 +0800, yongxin.liu@xxxxxxxxxxxxx wrote:
> The intel_pmc_ipc() function uses ACPI_ALLOCATE_BUFFER to allocate memory
> for the ACPI evaluation result but never frees it, causing a 192-byte
> memory leak on each call.
>
> This leak is triggered during network interface initialization when the
> stmmac driver calls intel_mac_finish() -> intel_pmc_ipc().
>
> [...]
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/1] platform/x86: intel_pmc_ipc: fix ACPI buffer memory leak
commit: 611cf41ef6ac8301d23daadd8e78b013db0c5071
--
i.