aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMukul Joshi <[email protected]>2024-04-18 15:32:34 +0000
committerAlex Deucher <[email protected]>2024-04-19 03:54:49 +0000
commite53a1713de314204f66cc186a74115ea62407876 (patch)
tree86b638994c6b603071ca3b95031d06dc304a68fb /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amdkfd: Fix eviction fence handling (diff)
downloadkernel-e53a1713de314204f66cc186a74115ea62407876.tar.gz
kernel-e53a1713de314204f66cc186a74115ea62407876.zip
drm/amdgpu: Fix leak when GPU memory allocation fails
Free the sync object if the memory allocation fails for any reason. Signed-off-by: Mukul Joshi <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions