summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorNirmoy Das <nirmoy.das@amd.com>2019-10-04 12:53:37 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-10-09 19:45:59 +0300
commit083164dbdb17c5ea4ad92c1782b59c9d75567790 (patch)
tree8c122489f8d012b0525b7fbb89f42dffcea59593 /scripts/gdb/linux/utils.py
parentda0c9ea146cbe92b832f1b0f694840ea8eb33cce (diff)
downloadlinux-083164dbdb17c5ea4ad92c1782b59c9d75567790.tar.xz
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions