diff options
| author | Tobias Klauser <[email protected]> | 2020-06-10 15:08:04 +0200 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2020-06-11 16:08:48 +0200 |
| commit | d4060ac969563113101c79433f2ae005feca1c29 (patch) | |
| tree | c8daf92bdcf0d938dc3d3582c5116552315af6af /scripts/generate_rust_target.rs | |
| parent | bd6fecb9a99cceb949271c1821cfbad2b2db97c6 (diff) | |
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions