Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools/resolve_btf_ids: Close ELF file on error
[ Upstream commit 1144ab9 ] Fix one case where we don't do explicit clean up. Fixes: fbbb68d ("bpf: Add resolve_btfids tool to resolve BTF IDs in ELF object") Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20211124002325.1737739-2-andrii@kernel.org Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information