summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMukul Joshi <mukul.joshi@amd.com>2024-04-18 18:32:34 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-04-19 06:54:49 +0300
commite53a1713de314204f66cc186a74115ea62407876 (patch)
tree86b638994c6b603071ca3b95031d06dc304a68fb /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent7e38ccb5276fe28f60088181ff4d279a8277b708 (diff)
downloadlinux-e53a1713de314204f66cc186a74115ea62407876.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions