commit | 8f3f5792f2940c16ab63c614b26494c8689c9c1e | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@kernel.org> | Wed Mar 17 23:54:14 2021 +0900 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Mar 18 00:42:21 2021 +0100 |
tree | 78d28efc44edc22e80a822603631cb0ff15e2a4d | |
parent | e21aa341785c679dd409c8cb71f864c00fe6c463 [diff] |
libbpf: Fix error path in bpf_object__elf_init() When it failed to get section names, it should call into bpf_object__elf_finish() like others. Fixes: 88a82120282b ("libbpf: Factor out common ELF operations and improve logging") Signed-off-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20210317145414.884817-1-namhyung@kernel.org