diff options
author | Andrii Nakryiko <[email protected]> | 2021-09-21 14:00:33 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-09-21 19:40:08 -0700 |
commit | 303a257223a3bbd7cc6ccc2b7777179c8d9f3989 (patch) | |
tree | 69df1a1ac0a8f11d0e62c0fba913d00992446cc4 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | cf8980a362353c5ebb3efb9b09e9fda17e0abfa4 (diff) |
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 <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions