aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorMauricio Vásquez <[email protected]>2021-10-22 20:20:35 +0000
committerAndrii Nakryiko <[email protected]>2021-10-22 23:00:53 +0000
commit1000298c76830bc291358e98e8fa5baa3baa9b3a (patch)
treed4180ef03c40382c4d9880dd1d02b6273f288caf /tools/bpf/bpftool/prog.c
parentselftests/bpf: Make perf_buffer selftests work on 4.9 kernel again (diff)
downloadkernel-1000298c76830bc291358e98e8fa5baa3baa9b3a.tar.gz
kernel-1000298c76830bc291358e98e8fa5baa3baa9b3a.zip
libbpf: Fix memory leak in btf__dedup()
Free btf_dedup if btf_ensure_modifiable() returns error. Fixes: 919d2b1dbb07 ("libbpf: Allow modification of BTF and add btf__add_str API") Signed-off-by: Mauricio Vásquez <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions