diff options
author | Andrii Nakryiko <[email protected]> | 2021-11-07 08:55:15 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-11-07 09:14:15 -0800 |
commit | 8ba285874913da21ca39a46376e9cc5ce0f45f94 (patch) | |
tree | 25e14aa1dc17f8dc4dd4ad51da01be35bc70fe0a /lib/test_overflow.c | |
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 <[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