diff options
author | 2021-03-26 21:25:02 -0700 | |
---|---|---|
committer | 2021-03-30 07:38:36 -0700 | |
commit | 05d817031ff9686a8206039b19e37616cf9e1d44 (patch) | |
tree | 427327f17c4ce85fe062d98b9f1f9a7342b4dd6d /tools/perf/scripts/python/syscall-counts.py | |
parent | Merge branch 'bpf: Update doc about calling kernel function' (diff) | |
download | wireguard-linux-05d817031ff9686a8206039b19e37616cf9e1d44.tar.xz wireguard-linux-05d817031ff9686a8206039b19e37616cf9e1d44.zip |
libbpf: Fix memory leak when emitting final btf_ext
Free temporary allocated memory used to construct finalized .BTF.ext data.
Found by Coverity static analysis on libbpf's Github repo.
Fixes: 8fd27bf69b86 ("libbpf: Add BPF static linker BTF and BTF.ext support")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20210327042502.969745-1-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions