linux-stable/drivers/mtd/maps
Zheng Yongjun 2399401fee mtd: maps: pxa2xx-flash: fix memory leak in probe
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 <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
2022-11-24 12:33:38 +01:00
..
amd76xrom.c
cfi_flagadm.c
ck804xrom.c
dc21285.c
esb2rom.c
ichxrom.c
impa7.c
intel_vr_nor.c
Kconfig
l440gx.c
lantiq-flash.c
Makefile
map_funcs.c
netsc520.c
nettel.c
pci.c
pcmciamtd.c
physmap-bt1-rom.c
physmap-bt1-rom.h
physmap-core.c mtd: physmap-core: Fix NULL pointer dereferencing in of_select_probe_type() 2022-09-19 18:14:53 +02:00
physmap-gemini.c
physmap-gemini.h
physmap-ixp4xx.c
physmap-ixp4xx.h
physmap-versatile.c mtd: maps: Fix refcount leak in ap_flash_init 2022-06-06 14:54:34 +02:00
physmap-versatile.h
pismo.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
plat-ram.c
pxa2xx-flash.c mtd: maps: pxa2xx-flash: fix memory leak in probe 2022-11-24 12:33:38 +01:00
sa1100-flash.c
sbc_gxx.c
sc520cdp.c
scb2_flash.c
scx200_docflash.c
solutionengine.c
sun_uflash.c
ts5500_flash.c
tsunami_flash.c
uclinux.c
vmu-flash.c