commit | 07a09d1b73c9651289d35449460d10e195e2f197 | [log] [tgz] |
---|---|---|
author | Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp> | Mon Dec 17 16:57:50 2018 +0900 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Tue Dec 18 01:16:23 2018 +0100 |
tree | 201bc47820b7acbc125242e55fe09190abf2cf5b | |
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 <bhole_prashant_q7@lab.ntt.co.jp> Acked-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>