Message ID | bc3aa5ec3d9b91076c40f8356aa0ffcc201c2213.1713613543.git.tanggeliang@kylinos.cn |
---|---|
State | New |
Headers | show |
Series | use network helpers, part 2 | expand |
diff --git a/tools/testing/selftests/bpf/network_helpers.c b/tools/testing/selftests/bpf/network_helpers.c index 9d63d2ac13d8..b2f531a6a4c7 100644 --- a/tools/testing/selftests/bpf/network_helpers.c +++ b/tools/testing/selftests/bpf/network_helpers.c @@ -478,6 +478,7 @@ struct nstoken *open_netns(const char *name) return token; fail: + close(token->orig_netns_fd); free(token); return NULL; }