]> Git Repo - linux.git/commit
drm/amdgpu: Fix leak when GPU memory allocation fails
authorMukul Joshi <[email protected]>
Thu, 18 Apr 2024 15:32:34 +0000 (11:32 -0400)
committerAlex Deucher <[email protected]>
Wed, 24 Apr 2024 03:17:30 +0000 (23:17 -0400)
commit25e9227c6afd200bed6774c866980b8e36d033af
treea60016befee10a0d8fe8826cb99c08a48b97a170
parent37865e02e6ccecdda240f33b4332105a5c734984
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]>
Cc: [email protected]
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
This page took 0.052297 seconds and 4 git commands to generate.