Re: [PATCH] drm/amdgpu: Fix leak when GPU memory allocation fails

2024-04-18 Thread Deucher, Alexander
[Public] Reviewed-by: Alex Deucher From: amd-gfx on behalf of Mukul Joshi Sent: Thursday, April 18, 2024 12:17 PM To: amd-gfx@lists.freedesktop.org Cc: Kuehling, Felix ; Joshi, Mukul Subject: [PATCH] drm/amdgpu: Fix leak when GPU memory allocation fails

[PATCH] drm/amdgpu: Fix leak when GPU memory allocation fails

2024-04-18 Thread Mukul Joshi
Free the sync object if the memory allocation fails for any reason. Signed-off-by: Mukul Joshi --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpu