aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2021-04-06 17:01:15 +0000
committerStephen Boyd <[email protected]>2021-04-07 23:29:31 +0000
commit657d4d1934f75a2d978c3cf2086495eaa542e7a9 (patch)
treeea0b80a8078fb13ec99317be767fbebccffc989f /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
parentclk: socfpga: Fix code formatting (diff)
downloadkernel-657d4d1934f75a2d978c3cf2086495eaa542e7a9.tar.gz
kernel-657d4d1934f75a2d978c3cf2086495eaa542e7a9.zip
clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return
There is an error return path that is not kfree'ing socfpga_clk leading to a memory leak. Fix this by adding in the missing kfree call. Addresses-Coverity: ("Resource leak") Signed-off-by: Colin Ian King <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Dinh Nguyen <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions