diff options
| author | Andrii Nakryiko <[email protected]> | 2020-04-28 18:21:06 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-04-28 19:48:05 -0700 |
| commit | 9f56bb531a809ecaa7f0ddca61d2cf3adc1cb81a (patch) | |
| tree | 21da84b408cfb4672d905865373ce6749c4d94b5 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | f25d5416d64c796aa639136eb0b076c8bd579b54 (diff) | |
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/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions