diff options
author | Ansuel Smith <ansuelsmth@gmail.com> | 2022-01-16 04:22:11 +0100 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-01-25 10:32:07 +0100 |
commit | 3dd8ba961b9356c4113b96541c752c73d98fef70 (patch) | |
tree | 215b557750ef5f71964ceec58c6ec431c51f13d6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 65d003cca335cabc0160d3cd7daa689eaa9dd3cd (diff) |
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: 10f3b4d79958 ("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
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions