aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/perf_buffer.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2020-04-29 01:21:06 +0000
committerAlexei Starovoitov <[email protected]>2020-04-29 02:48:05 +0000
commit9f56bb531a809ecaa7f0ddca61d2cf3adc1cb81a (patch)
tree21da84b408cfb4672d905865373ce6749c4d94b5 /tools/testing/selftests/bpf/prog_tests/perf_buffer.c
parentselftests/bpf: Fix memory leak in test selector (diff)
downloadkernel-9f56bb531a809ecaa7f0ddca61d2cf3adc1cb81a.tar.gz
kernel-9f56bb531a809ecaa7f0ddca61d2cf3adc1cb81a.zip
selftests/bpf: Fix memory leak in extract_build_id()
getline() allocates string, which has to be freed. Fixes: 81f77fd0deeb ("bpf: add selftest for stackmap with BPF_F_STACK_BUILD_ID") Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Cc: Song Liu <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/perf_buffer.c')
0 files changed, 0 insertions, 0 deletions