aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorDong Chenchen <[email protected]>2022-11-10 22:33:14 +0800
committerAlex Deucher <[email protected]>2022-11-15 13:03:59 -0500
commit5428672d39b7750310cf4e328e9f94a7668b5565 (patch)
treea656359b98648a29ac4a52b48ad1989ce9f78fba /lib/mpi/mpi-mod.c
parent094226ad94f471a9f19e8f8e7140a09c2625abaa (diff)
drm/amdgpu: Fix memory leak in amdgpu_cs_pass1
When p->gang_size equals 0, amdgpu_cs_pass1() will return directly without freeing chunk_array, which will cause a memory leak issue, this patch fixes it. Fixes: 4624459c84d7 ("drm/amdgpu: add gang submit frontend v6") Reviewed-by: Luben Tuikov <[email protected]> Signed-off-by: Dong Chenchen <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions