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

Lee Jones <[email protected]>
Newsgroups org.kernel.vger.stable,dev.linux.lists.mfd,org.kernel.vger.linux-kernel
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 [李琼斯]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.