diff options
| author | Abdun Nihaal <nihaal@cse.iitm.ac.in> | 2025-11-03 20:51:39 +0530 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2025-11-17 11:49:14 +0100 |
| commit | a697c671cc317aac3714ac735a336346af15d025 (patch) | |
| tree | b151611413fce05074fa0b5b602d49cb9c874fbb /tools/lib/python | |
| parent | c95de73da12bf4586b7bcd6b23a6968c21991cc7 (diff) | |
mtd: maps: pcmciamtd: fix potential memory leak in pcmciamtd_detach()
The memory allocated for struct pcmciamtd_dev in pcmciamtd_probe() is
not freed in the corresponding remove function pcmciamtd_detach().
Fix that by freeing it in the remove function.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
