aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorDong Chenchen <dongchenchen2@huawei.com>2022-11-10 22:33:14 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-11-15 13:03:59 -0500
commit5428672d39b7750310cf4e328e9f94a7668b5565 (patch)
treea656359b98648a29ac4a52b48ad1989ce9f78fba /tools/testing/selftests/bpf/prog_tests/autoload.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 <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/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions