diff options
author | Nirmoy Das <nirmoy.das@amd.com> | 2019-10-04 11:53:37 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-06 13:06:02 +0100 |
commit | f2824a020746ec60fbb780756e42ac13efb221d0 (patch) | |
tree | dc730d92f2fb6cf7821961432aeed53df5be0213 /LICENSES | |
parent | a1112c465593c44de73aa073f00b53b3e0bec533 (diff) | |
download | linux-stable-f2824a020746ec60fbb780756e42ac13efb221d0.tar.gz linux-stable-f2824a020746ec60fbb780756e42ac13efb221d0.tar.bz2 linux-stable-f2824a020746ec60fbb780756e42ac13efb221d0.zip |
drm/amdgpu: fix memory leak
[ Upstream commit 083164dbdb17c5ea4ad92c1782b59c9d75567790 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions