diff options
author | Brendan Jackman <[email protected]> | 2021-02-08 12:37:37 +0000 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2021-02-08 17:55:01 -0800 |
commit | 1589a1fa4e3832bd43742f111e6a883a28fe7ae9 (patch) | |
tree | 26b907b1e10129289057b5ecaf6a861094b42164 | |
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 <[email protected]>
Signed-off-by: Brendan Jackman <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
-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); } |