aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMukul Joshi <mukul.joshi@amd.com>2024-04-18 11:32:34 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-04-23 23:17:30 -0400
commit25e9227c6afd200bed6774c866980b8e36d033af (patch)
treea60016befee10a0d8fe8826cb99c08a48b97a170 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent37865e02e6ccecdda240f33b4332105a5c734984 (diff)
downloadlinux-25e9227c6afd200bed6774c866980b8e36d033af.tar.gz
linux-25e9227c6afd200bed6774c866980b8e36d033af.tar.bz2
linux-25e9227c6afd200bed6774c866980b8e36d033af.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 <mukul.joshi@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions