Re: (subset) [PATCH] mfd: sm501: Fix potential memory leaks during remove

From: Lee Jones

Date: Thu Aug 06 2026 - 09:12:28 EST


On Mon, 20 Jul 2026 17:08:32 +0530, Abdun Nihaal wrote:
> The memory allocated for struct sm501_devdata in sm501_pci_probe() and
> sm501_plat_probe() is not freed by the corresponding remove functions
> sm501_pci_remove() and sm501_plat_remove(). Fix that by adding a call to
> kfree().

Applied, thanks!

[1/1] mfd: sm501: Fix potential memory leaks during remove
commit: 83feedd9d83c0c5199f98c72df0a6196b4aefb4d

--
Lee Jones [李琼斯]