diff options
| author | Andrii Nakryiko <andriin@fb.com> | 2020-04-28 18:21:08 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2020-04-28 19:48:05 -0700 |
| commit | 3521ffa2ee9a48c3236c93f54ae11c074490ebce (patch) | |
| tree | 77d887266884f290af1c02cdb5ec7fab10157896 /tools/testing/selftests/bpf/prog_tests/perf_buffer.c | |
| parent | selftests/bpf: Fix invalid memory reads in core_relo selftest (diff) | |
| download | linux-3521ffa2ee9a48c3236c93f54ae11c074490ebce.tar.gz linux-3521ffa2ee9a48c3236c93f54ae11c074490ebce.zip | |
libbpf: Fix huge memory leak in libbpf_find_vmlinux_btf_id()
BTF object wasn't freed.
Fixes: a6ed02cac690 ("libbpf: Load btf_vmlinux only once per object.")
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Cc: KP Singh <kpsingh@google.com>
Link: https://lore.kernel.org/bpf/20200429012111.277390-9-andriin@fb.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/perf_buffer.c')
0 files changed, 0 insertions, 0 deletions
