summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2024-11-15 14:58:43 +0300
committerAndrii Nakryiko <andrii@kernel.org>2024-11-15 22:29:12 +0300
commitfab974e6487475c2fca0a79918e8e75bd6bafffc (patch)
tree568c074424384d883cc2ecbcd1758cf8ad79bf14 /tools/perf/scripts/python/export-to-sqlite.py
parent96a30e469ca1d2b8cc7811b40911f8614b558241 (diff)
downloadlinux-fab974e6487475c2fca0a79918e8e75bd6bafffc.tar.xz
libbpf: Fix memory leak in bpf_program__attach_uprobe_multi
Andrii reported memory leak detected by Coverity on error path in bpf_program__attach_uprobe_multi. Fixing that by moving the check earlier before the offsets allocations. Reported-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20241115115843.694337-1-jolsa@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions