diff options
| author | Ansuel Smith <[email protected]> | 2022-01-16 03:22:11 +0000 |
|---|---|---|
| committer | Miquel Raynal <[email protected]> | 2022-01-25 09:32:07 +0000 |
| commit | 3dd8ba961b9356c4113b96541c752c73d98fef70 (patch) | |
| tree | 215b557750ef5f71964ceec58c6ec431c51f13d6 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | mtd: parsers: qcom: Fix kernel panic on skipped partition (diff) | |
| download | kernel-3dd8ba961b9356c4113b96541c752c73d98fef70.tar.gz kernel-3dd8ba961b9356c4113b96541c752c73d98fef70.zip | |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
