summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c
diff options
context:
space:
mode:
authorNirmoy Das <nirmoy.das@amd.com>2019-10-04 11:53:37 +0200
committerAlex Deucher <alexander.deucher@amd.com>2019-10-09 11:45:59 -0500
commit083164dbdb17c5ea4ad92c1782b59c9d75567790 (patch)
tree8c122489f8d012b0525b7fbb89f42dffcea59593 /drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c
parentda0c9ea146cbe92b832f1b0f694840ea8eb33cce (diff)
drm/amdgpu: fix memory leak
cleanup error handling code and make sure temporary info array with the handles are freed by amdgpu_bo_list_put() on idr_replace()'s failure. Signed-off-by: Nirmoy Das <nirmoy.das@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c')
0 files changed, 0 insertions, 0 deletions