diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2021-11-07 08:55:15 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-11-07 09:14:15 -0800 |
commit | 8ba285874913da21ca39a46376e9cc5ce0f45f94 (patch) | |
tree | 25e14aa1dc17f8dc4dd4ad51da01be35bc70fe0a /tools/leds | |
parent | 8f7b239ea8cfdc8e64c875ee417fed41431a1f37 (diff) |
selftests/bpf: Fix memory leaks in btf_type_c_dump() helper
Free up memory and resources used by temporary allocated memstream and
btf_dump instance.
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-4-andrii@kernel.org
Diffstat (limited to 'tools/leds')
0 files changed, 0 insertions, 0 deletions