Files
linux/drivers/mtd/maps
Abdun Nihaal a697c671cc 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: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Abdun Nihaal <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
2025-11-17 11:49:14 +01:00
..
…
…
…
…
2021-02-01 18:58:38 +01:00
…
…