diff options
author | Ansuel Smith <[email protected]> | 2022-01-16 04:22:11 +0100 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2022-01-25 10:32:07 +0100 |
commit | 3dd8ba961b9356c4113b96541c752c73d98fef70 (patch) | |
tree | 215b557750ef5f71964ceec58c6ec431c51f13d6 /net/unix/sysctl_net_unix.c | |
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 <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions