aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorLin Yi <teroincn@163.com>2019-04-09 22:23:34 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-04-11 11:02:21 -0400
commit543c364d8eeeb42c0edfaac9764f4e9f3d777ec1 (patch)
tree383cf020fe70cecdfad507fd796c280ff5c4ea92 /scripts/gdb/linux/proc.py
parent453393369dc9806d2455151e329c599684762428 (diff)
drm/ttm: fix dma_fence refcount imbalance on error path
the ttm_bo_add_move_fence takes a reference to the struct dma_fence, but failed to release it on the error path, leading to a memory leak. add dma_fence_put before return when error occur. Signed-off-by: Lin Yi <teroincn@163.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/proc.py')
0 files changed, 0 insertions, 0 deletions