diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2020-06-10 16:08:04 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-06-11 17:08:48 +0300 |
commit | d4060ac969563113101c79433f2ae005feca1c29 (patch) | |
tree | c8daf92bdcf0d938dc3d3582c5116552315af6af /.gitignore | |
parent | bd6fecb9a99cceb949271c1821cfbad2b2db97c6 (diff) | |
download | linux-d4060ac969563113101c79433f2ae005feca1c29.tar.xz |
tools, bpftool: Fix memory leak in codegen error cases
Free the memory allocated for the template on error paths in function
codegen.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200610130804.21423-1-tklauser@distanz.ch
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions