diff options
author | Brendan Jackman | 2021-02-08 12:37:37 +0000 |
---|---|---|
committer | Andrii Nakryiko | 2021-02-08 17:55:01 -0800 |
commit | 1589a1fa4e3832bd43742f111e6a883a28fe7ae9 (patch) | |
tree | 26b907b1e10129289057b5ecaf6a861094b42164 /tools/testing | |
parent | 11da9f0c6d145e482991d29a771ce717d2f1b92b (diff) |
selftests/bpf: Add missing cleanup in atomic_bounds test
Add missing skeleton destroy call.
Fixes: 37086bfdc737 ("bpf: Propagate stack bounds to registers in atomics w/ BPF_FETCH")
Reported-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Brendan Jackman <jackmanb@google.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210208123737.963172-1-jackmanb@google.com
Diffstat (limited to 'tools/testing')
-rw-r--r-- | tools/testing/selftests/bpf/prog_tests/atomic_bounds.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/prog_tests/atomic_bounds.c b/tools/testing/selftests/bpf/prog_tests/atomic_bounds.c index addf127068e4..69bd7853e8f1 100644 --- a/tools/testing/selftests/bpf/prog_tests/atomic_bounds.c +++ b/tools/testing/selftests/bpf/prog_tests/atomic_bounds.c @@ -12,4 +12,6 @@ void test_atomic_bounds(void) skel = atomic_bounds__open_and_load(); if (CHECK(!skel, "skel_load", "couldn't load program\n")) return; + + atomic_bounds__destroy(skel); } |