mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 02:23:05 +00:00
Free 'info' upon remapping error to avoid a memory leak.
Fixes: e644f7d628 ("[MTD] MAPS: Merge Lubbock and Mainstone drivers into common PXA2xx driver")
Signed-off-by: Zheng Yongjun <[email protected]>
[<[email protected]>: Reword the commit log]
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]