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_object.c | |
| parent | drm/amdkfd: Fix eviction fence handling (diff) | |
| download | linux-e53a1713de314204f66cc186a74115ea62407876.tar.gz linux-e53a1713de314204f66cc186a74115ea62407876.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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
