linux/drivers/mtd/parsers
Ansuel Smith 3dd8ba961b mtd: parsers: qcom: Fix missing free for pparts in cleanup
Mtdpart doesn't free pparts when a cleanup function is declared.
Add missing free for pparts in cleanup function for smem to fix the
leak.

Fixes: 10f3b4d799 ("mtd: parsers: qcom: Fix leaking of partition name")
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220116032211.9728-2-ansuelsmth@gmail.com
2022-01-25 10:32:07 +01:00
..
afs.c mtd: parsers: afs: Fix freeing the part name memory in failure 2021-02-01 18:58:38 +01:00
ar7part.c mtd: parsers: Move TI AR7 parser 2019-09-15 23:50:48 +02:00
bcm47xxpart.c mtd: parsers: Move BCM47xx parser 2019-09-15 23:50:48 +02:00
bcm63xxpart.c mtd: parsers: bcm63xx: simplify CFE detection 2020-06-26 08:35:10 +02:00
cmdlinepart.c mtd: parser: cmdline: Fix parsing of part-names with colons 2020-12-07 12:14:32 +01:00
Kconfig mtd: parsers: trx: Allow to use TRX parser on Mediatek SoCs 2021-05-10 12:11:53 +02:00
Makefile mtd: parsers: ofpart: support Linksys Northstar partitions 2021-03-28 19:27:02 +02:00
ofpart_bcm4908.c mtd: parsers: ofpart: support BCM4908 fixed partitions 2021-03-11 09:37:49 +01:00
ofpart_bcm4908.h mtd: parsers: ofpart: support BCM4908 fixed partitions 2021-03-11 09:37:49 +01:00
ofpart_core.c mtd: parsers: ofpart: fix parsing subpartitions 2021-05-10 18:34:30 +02:00
ofpart_linksys_ns.c mtd: parsers: ofpart: support Linksys Northstar partitions 2021-03-28 19:27:02 +02:00
ofpart_linksys_ns.h mtd: parsers: ofpart: support Linksys Northstar partitions 2021-03-28 19:27:02 +02:00
parser_imagetag.c mtd: parser: imagetag: fix error codes in bcm963xx_parse_imagetag_partitions() 2021-01-28 22:24:54 +01:00
parser_trx.c mtd: parsers: trx: Allow to specify brcm, trx-magic in DT 2021-05-10 12:11:50 +02:00
qcomsmempart.c mtd: parsers: qcom: Fix missing free for pparts in cleanup 2022-01-25 10:32:07 +01:00
redboot.c mtd: partitions: redboot: fix style issues 2021-05-26 10:58:29 +02:00
sharpslpart.c mtd: sharpslpart: Fix unsigned comparison to zero 2020-01-21 20:00:34 +01:00