diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2021-11-07 08:55:17 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-11-07 09:14:15 -0800 |
commit | 5309b516bcc6f76dda0e44a7a1824324277093d6 (patch) | |
tree | 5c3e9e87c5a817b873359ed4f95efa2ff3e6e883 /tools/testing/selftests/bpf/prog_tests/global_data_init.c | |
parent | b8b26e585f3a0fbcee1032c622f046787da57390 (diff) |
selftests/bpf: Free inner strings index in btf selftest
Inner array of allocated strings wasn't freed on success. Now it's
always freed.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Hengqi Chen <hengqi.chen@gmail.com>
Link: https://lore.kernel.org/bpf/20211107165521.9240-6-andrii@kernel.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/global_data_init.c')
0 files changed, 0 insertions, 0 deletions