diff options
author | 2024-10-09 18:41:26 -0700 | |
---|---|---|
committer | 2024-10-10 19:13:47 -0700 | |
commit | f3ef53174b23246fe9bc2bbc2542f3a3856fa1e2 (patch) | |
tree | bee2c9df68dd9459c1f4081ca3d28fb0d56491dd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | bpf: Update bpf_override_return() comment (diff) | |
download | wireguard-linux-f3ef53174b23246fe9bc2bbc2542f3a3856fa1e2.tar.xz wireguard-linux-f3ef53174b23246fe9bc2bbc2542f3a3856fa1e2.zip |
samples/bpf: Fix a resource leak
The opened file should be closed in show_sockopts(), otherwise resource
leak will occur that this problem was discovered by reading code
Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241010014126.2573-1-zhujun2@cmss.chinamobile.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions