Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mtd: maps: pxa2xx-flash: fix memory leak in probe
[ Upstream commit 2399401 ] Free 'info' upon remapping error to avoid a memory leak. Fixes: e644f7d ("[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 Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information