diff options
author | Andrii Nakryiko <[email protected]> | 2021-11-07 08:55:18 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-11-07 09:14:15 -0800 |
commit | f79587520a6007a3734b23a3c2eb4c62aa457533 (patch) | |
tree | 16da27ea76eba2c951a1640640d4be36ac7fb110 /lib/test_overflow.c | |
parent | 5309b516bcc6f76dda0e44a7a1824324277093d6 (diff) |
selftests/bpf: Clean up btf and btf_dump in dump_datasec test
Free up used resources at the end and on error. Also make it more
obvious that there is btf__parse() call that creates struct btf
instance.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Reviewed-by: Hengqi Chen <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions