summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorXu Kuohai <xukuohai@huawei.com>2022-10-11 15:01:05 +0300
committerAndrii Nakryiko <andrii@kernel.org>2022-10-13 20:53:22 +0300
commit6e8280b958c5d7edc514cf347a800b23b7732b2b (patch)
treedd89061a3f008f63487277a0f3ed2710b2aae3ec /scripts/generate_rust_analyzer.py
parent0dc9254e03704c75f2ebc9cbef2ce4de83fba603 (diff)
downloadlinux-6e8280b958c5d7edc514cf347a800b23b7732b2b.tar.xz
selftests/bpf: Fix memory leak caused by not destroying skeleton
Some test cases does not destroy skeleton object correctly, causing ASAN to report memory leak warning. Fix it. Fixes: 0ef6740e9777 ("selftests/bpf: Add tests for kptr_ref refcounting") Fixes: 1642a3945e22 ("selftests/bpf: Add struct argument tests with fentry/fexit programs.") Signed-off-by: Xu Kuohai <xukuohai@huawei.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Martin KaFai Lau <martin.lau@kernel.org> Link: https://lore.kernel.org/bpf/20221011120108.782373-4-xukuohai@huaweicloud.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions