diff options
| author | 2026-07-20 17:08:32 +0530 | |
|---|---|---|
| committer | 2026-08-06 14:04:09 +0100 | |
| commit | 83feedd9d83c0c5199f98c72df0a6196b4aefb4d (patch) | |
| tree | 330b51f4d20ceb3c9961c6782423c39fb97a6884 /scripts/Makefile.thinlto | |
| parent | mfd: viperboard: Fix native fields type in structures as little-endian (diff) | |
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/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
