diff options
| author | Abdun Nihaal <nihaal@cse.iitm.ac.in> | 2026-07-20 17:08:32 +0530 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2026-08-06 14:04:09 +0100 |
| commit | 83feedd9d83c0c5199f98c72df0a6196b4aefb4d (patch) | |
| tree | 330b51f4d20ceb3c9961c6782423c39fb97a6884 /scripts/git.orderFile | |
| parent | d97a98f434af98c1a46f5dc98b0f861187c52f63 (diff) | |
| download | linux-83feedd9d83c0c5199f98c72df0a6196b4aefb4d.tar.gz linux-83feedd9d83c0c5199f98c72df0a6196b4aefb4d.zip | |
mfd: sm501: Fix potential memory leaks during remove
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().
Fixes: b6d6454fdb66 ("[PATCH] mfd: SM501 core driver")
Cc: stable@vger.kernel.org
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Link: https://patch.msgid.link/20260720113836.73133-1-nihaal@cse.iitm.ac.in
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
