| commit | 4a04cb326a6c7f9a2c066f8c2ca78a5a9b87ddab | [log] [tgz] |
|---|---|---|
| author | Pu Lehui <pulehui@huawei.com> | Wed Jan 15 10:02:38 2025 +0000 |
| committer | Andrii Nakryiko <andrii@kernel.org> | Thu Jan 16 15:34:18 2025 -0800 |
| tree | b7957cfed555bb1f369a4d35ebbaab856906a32e | |
| parent | 7c311b7cb3c7d84c5c342e803c5cb1b2fabbc438 [diff] |
selftests/bpf: Fix btf leak on new btf alloc failure in btf_distill test
Fix btf leak on new btf alloc failure in btf_distill test.
Fixes: affdeb50616b ("selftests/bpf: Extend distilled BTF tests to cover BTF relocation")
Signed-off-by: Pu Lehui <pulehui@huawei.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250115100241.4171581-1-pulehui@huaweicloud.com