diff options
| author | Mykola Lysenko <[email protected]> | 2022-04-28 22:57:44 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2022-04-29 04:53:50 +0000 |
| commit | 20b87e7c29dffcfa3f96f2e99daec84fd46cabdb (patch) | |
| tree | 2542b4feff1e09dbb9d5383b9ed75ef2e62d3a46 /tools/lib/bpf/bpf_core_read.h | |
| parent | Merge branch 'libbpf: allow to opt-out from BPF map creation' (diff) | |
| download | kernel-20b87e7c29dffcfa3f96f2e99daec84fd46cabdb.tar.gz kernel-20b87e7c29dffcfa3f96f2e99daec84fd46cabdb.zip | |
selftests/bpf: Fix two memory leaks in prog_tests
Fix log_fp memory leak in dispatch_thread_read_log.
Remove obsolete log_fp clean-up code in dispatch_thread.
Also, release memory of subtest_selector. This can be
reproduced with -n 2/1 parameters.
Signed-off-by: Mykola Lysenko <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf_core_read.h')
0 files changed, 0 insertions, 0 deletions
