diff options
author | Mukul Joshi <mukul.joshi@amd.com> | 2024-04-18 11:32:34 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-18 23:54:49 -0400 |
commit | e53a1713de314204f66cc186a74115ea62407876 (patch) | |
tree | 86b638994c6b603071ca3b95031d06dc304a68fb /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
parent | 7e38ccb5276fe28f60088181ff4d279a8277b708 (diff) |
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_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions