summaryrefslogtreecommitdiff
path: root/kernel/fail_function.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-03-27 07:25:02 +0300
committerAlexei Starovoitov <ast@kernel.org>2021-03-30 17:38:36 +0300
commit05d817031ff9686a8206039b19e37616cf9e1d44 (patch)
tree427327f17c4ce85fe062d98b9f1f9a7342b4dd6d /kernel/fail_function.c
parentb83fd195c228bdb7b45f3933919296fa6511fcf5 (diff)
downloadlinux-05d817031ff9686a8206039b19e37616cf9e1d44.tar.xz
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 'kernel/fail_function.c')
0 files changed, 0 insertions, 0 deletions