diff options
| author | Yuntao Wang <[email protected]> | 2022-04-05 22:57:11 +0800 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2022-04-05 16:49:32 -0700 |
| commit | 2d0df01974ce2b59b6f7d5bd3ea58d74f12ddf85 (patch) | |
| tree | 1bd0c799be678e7e8abaf2e378e42560ea1f05cc /tools/perf/scripts/python | |
| parent | 042152c27c3bc3e20882f75c289ced32331f4010 (diff) | |
selftests/bpf: Fix file descriptor leak in load_kallsyms()
Currently, if sym_cnt > 0, it just returns and does not close file, fix it.
Signed-off-by: Yuntao Wang <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions