aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorYongzhi Liu <[email protected]>2022-01-21 11:26:13 +0000
committerAlex Deucher <[email protected]>2022-01-25 23:00:33 +0000
commit5d5c6dba2b43e28845d7d7ed32a36802329a5f52 (patch)
treedb047b7263c77f2c2f42302ee8e40660c7cc9bca /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/amd/pm: remove useless if (diff)
downloadkernel-5d5c6dba2b43e28845d7d7ed32a36802329a5f52.tar.gz
kernel-5d5c6dba2b43e28845d7d7ed32a36802329a5f52.zip
drm/amd/display: Fix memory leak
[why] Resource release is needed on the error handling path to prevent memory leak. [how] Fix this by adding kfree on the error handling path. Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Yongzhi Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions