aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-11-23 16:23:17 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2021-11-26 00:15:02 +0100
commit8cb125566c40b7141d8842c534f0ea5820ee3d5c (patch)
tree094fa644157c8b05f23f092e8b611f4caef9e089 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentlibbpf: Don't call libc APIs with NULL pointers (diff)
downloadwireguard-linux-8cb125566c40b7141d8842c534f0ea5820ee3d5c.tar.xz
wireguard-linux-8cb125566c40b7141d8842c534f0ea5820ee3d5c.zip
libbpf: Fix glob_syms memory leak in bpf_linker
glob_syms array wasn't freed on bpf_link__free(). Fix that. Fixes: a46349227cd8 ("libbpf: Add linker extern resolution support for functions and global variables") Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20211124002325.1737739-6-andrii@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions