diff options
author | Jiri Olsa <jolsa@kernel.org> | 2024-01-19 12:05:00 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-01-23 16:05:27 -0800 |
commit | 2adb2e0fcdf3c6d8e28a5a9c33e458e1037ae5ad (patch) | |
tree | a22f6d48ba9745fd24a348248113671c63d40802 /tools/testing/selftests/bpf/prog_tests/kfunc_dynptr_param.c | |
parent | 9fd112b1f82b587ffb12fb67dd032f551fdb571a (diff) |
bpftool: Fix wrong free call in do_show_link
The error path frees wrong array, it should be ref_ctr_offsets.
Acked-by: Yafang Shao <laoar.shao@gmail.com>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Fixes: a7795698f8b6 ("bpftool: Add support to display uprobe_multi links")
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240119110505.400573-4-jolsa@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/kfunc_dynptr_param.c')
0 files changed, 0 insertions, 0 deletions