diff options
author | Zheng Yongjun <zhengyongjun3@huawei.com> | 2022-11-19 08:33:07 +0100 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-11-24 12:33:38 +0100 |
commit | 2399401feee27c639addc5b7e6ba519d3ca341bf (patch) | |
tree | e9a25b68a58abe4cca109f4563cc1f3e426a0688 /drivers/cxl/Makefile | |
parent | mtd: core: Fix refcount error in del_mtd_device() (diff) | |
download | linux-2399401feee27c639addc5b7e6ba519d3ca341bf.tar.xz linux-2399401feee27c639addc5b7e6ba519d3ca341bf.zip |
mtd: maps: pxa2xx-flash: fix memory leak in probe
Free 'info' upon remapping error to avoid a memory leak.
Fixes: e644f7d62894 ("[MTD] MAPS: Merge Lubbock and Mainstone drivers into common PXA2xx driver")
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
[<miquel.raynal@bootlin.com>: Reword the commit log]
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20221119073307.22929-1-zhengyongjun3@huawei.com
Diffstat (limited to 'drivers/cxl/Makefile')
0 files changed, 0 insertions, 0 deletions