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

Lee Jones <[email protected]> Thu, 06 Aug 2026 14:04:18 +0100
Newsgroups dev.linux.lists.mfd,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <178602145870.2907500.16902396928055251260.b4-ty@b4>
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 [李琼斯]