diff options
| author | Andrii Nakryiko <andrii@kernel.org> | 2021-09-21 14:00:33 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2021-09-21 19:40:08 -0700 |
| commit | 303a257223a3bbd7cc6ccc2b7777179c8d9f3989 (patch) | |
| tree | 69df1a1ac0a8f11d0e62c0fba913d00992446cc4 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | samples: bpf: Convert ARP table network order fields into readable format (diff) | |
| download | linux-303a257223a3bbd7cc6ccc2b7777179c8d9f3989.tar.gz linux-303a257223a3bbd7cc6ccc2b7777179c8d9f3989.zip | |
libbpf: Fix memory leak in legacy kprobe attach logic
In some error scenarios legacy_probe string won't be free()'d. Fix this.
This was reported by Coverity static analysis.
Fixes: ca304b40c20d ("libbpf: Introduce legacy kprobe events support")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210921210036.1545557-2-andrii@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
