aboutsummaryrefslogtreecommitdiff
path: root/tools/leds
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2021-11-07 08:55:15 -0800
committerAlexei Starovoitov <ast@kernel.org>2021-11-07 09:14:15 -0800
commit8ba285874913da21ca39a46376e9cc5ce0f45f94 (patch)
tree25e14aa1dc17f8dc4dd4ad51da01be35bc70fe0a /tools/leds
parent8f7b239ea8cfdc8e64c875ee417fed41431a1f37 (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