diff options
author | 2022-12-08 11:36:20 +0000 | |
---|---|---|
committer | 2023-01-02 12:08:50 +0100 | |
commit | 7adde5ac25fa50dbb1fb237042316685cafe976c (patch) | |
tree | b516ffbd3bdb5a833513467f7160e7d22e9eaa30 /scripts/generate_rust_analyzer.py | |
parent | Linux 6.2-rc2 (diff) | |
download | linux-rng-7adde5ac25fa50dbb1fb237042316685cafe976c.tar.xz linux-rng-7adde5ac25fa50dbb1fb237042316685cafe976c.zip |
mtd: parsers: Fix potential memory leak in mtd_parser_tplink_safeloader_parse()
The parts needs to be freed with all its elements, otherwise it will be
leaked.
Fixes: 00a3588084be ("mtd: parsers: add TP-Link SafeLoader partitions table parser")
Signed-off-by: Yuan Can <yuancan@huawei.com>
Reviewed-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20221208113620.78855-1-yuancan@huawei.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions