commit | efadf2ad17a2d5dc90bda4e6e8b2f96af4c62dae | [log] [tgz] |
---|---|---|
author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | Thu Oct 28 12:05:01 2021 +0530 |
committer | Alexei Starovoitov <ast@kernel.org> | Thu Oct 28 16:30:07 2021 -0700 |
tree | e3c7139b738cff0dba0392dd7bcadc558398abcd | |
parent | c3fc706e94f5653def2783ffcd809a38676b7551 [diff] |
selftests/bpf: Fix memory leak in test_ima The allocated ring buffer is never freed, do so in the cleanup path. Fixes: f446b570ac7e ("bpf/selftests: Update the IMA test to use BPF ring buffer") Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Song Liu <songliubraving@fb.com> Link: https://lore.kernel.org/bpf/20211028063501.2239335-9-memxor@gmail.com