Commit 4a04cb32 authored by Pu Lehui's avatar Pu Lehui Committed by Andrii Nakryiko
Browse files

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: affdeb50 ("selftests/bpf: Extend distilled BTF tests to cover BTF relocation")
Signed-off-by: default avatarPu Lehui <pulehui@huawei.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250115100241.4171581-1-pulehui@huaweicloud.com
parent 7c311b7c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment