diff options
author | Prashant Bhole <[email protected]> | 2018-12-17 16:57:50 +0900 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-12-18 01:16:23 +0100 |
commit | 07a09d1b73c9651289d35449460d10e195e2f197 (patch) | |
tree | 201bc47820b7acbc125242e55fe09190abf2cf5b /tools/perf/util/c++/clang.cpp | |
parent | 37c7b1caeaf60c8d3bc3cedc9ff4b9cc2f015d7e (diff) |
bpf: libbpf: fix memleak by freeing line_info
This patch fixes a memory leak in libbpf by freeing up line_info
member of struct bpf_program while unloading a program.
Fixes: 3d65014146c6 ("bpf: libbpf: Add btf_line_info support to libbpf")
Signed-off-by: Prashant Bhole <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions