summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-02-03 20:23:42 +0000
committerAlex Deucher <alexander.deucher@amd.com>2017-02-08 21:06:00 -0500
commit6127f4aee474a7b22330d1b9aa39d5c5f98bbaeb (patch)
treee8c59eb4f5a40c254364a68488077d93d781611e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent9338acc579f904668d71760a871c67b165567569 (diff)
downloadlinux-6127f4aee474a7b22330d1b9aa39d5c5f98bbaeb.tar.bz2
drm/amdgpu/virt: fix double kfree on bo_va
bo_va is being kfree'd twice, once in the call to amdgpu_vm_bo_rmv and then a short while later. Fix this double free by removing the 2nd kfree. Detected by CoverityScan, CID#1399524 ("Double Free") Reviewed-by: Monk Liu <monk.liu@amd.com> Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions