diff options
author | Nirmoy Das <nirmoy.das@amd.com> | 2019-10-04 11:53:37 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-09 11:45:59 -0500 |
commit | 083164dbdb17c5ea4ad92c1782b59c9d75567790 (patch) | |
tree | 8c122489f8d012b0525b7fbb89f42dffcea59593 /drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c | |
parent | da0c9ea146cbe92b832f1b0f694840ea8eb33cce (diff) | |
download | linux-083164dbdb17c5ea4ad92c1782b59c9d75567790.tar.bz2 |
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/amdgpu/amdgpu_pmu.c')
0 files changed, 0 insertions, 0 deletions