summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2020-04-29 04:21:06 +0300
committerAlexei Starovoitov <ast@kernel.org>2020-04-29 05:48:05 +0300
commit9f56bb531a809ecaa7f0ddca61d2cf3adc1cb81a (patch)
tree21da84b408cfb4672d905865373ce6749c4d94b5 /tools/perf/scripts/python/export-to-postgresql.py
parentf25d5416d64c796aa639136eb0b076c8bd579b54 (diff)
downloadlinux-9f56bb531a809ecaa7f0ddca61d2cf3adc1cb81a.tar.xz
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 <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Cc: Song Liu <songliubraving@fb.com> Link: https://lore.kernel.org/bpf/20200429012111.277390-7-andriin@fb.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions