Re: [PATCH] libbpf: Fix error path in bpf_object__elf_init()

2021-03-17 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf.git (refs/heads/master): On Wed, 17 Mar 2021 23:54:14 +0900 you wrote: > When it failed to get section names, it should call > bpf_object__elf_finish() like others. > > Signed-off-by: Namhyung Kim > --- > tools/lib/bpf/libbpf.c | 3 ++- > 1 file changed

[PATCH] libbpf: Fix error path in bpf_object__elf_init()

2021-03-17 Thread Namhyung Kim
When it failed to get section names, it should call bpf_object__elf_finish() like others. Signed-off-by: Namhyung Kim --- tools/lib/bpf/libbpf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c index 2f351d3ad3e7..8d610259f4be