summaryrefslogtreecommitdiff
path: root/tools/io_uring
diff options
context:
space:
mode:
authorDong Chenchen <dongchenchen2@huawei.com>2022-11-10 17:33:14 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-11-15 21:03:59 +0300
commit5428672d39b7750310cf4e328e9f94a7668b5565 (patch)
treea656359b98648a29ac4a52b48ad1989ce9f78fba /tools/io_uring
parent094226ad94f471a9f19e8f8e7140a09c2625abaa (diff)
downloadlinux-5428672d39b7750310cf4e328e9f94a7668b5565.tar.xz
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 <luben.tuikov@amd.com> Signed-off-by: Dong Chenchen <dongchenchen2@huawei.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/io_uring')
0 files changed, 0 insertions, 0 deletions