Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1540c5d3 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Fix another issue with rpc_client_register()



Fix the error pathway if rpcauth_create() fails.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent ad81f054
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -309,6 +309,7 @@ static int rpc_client_register(const struct rpc_create_args *args,
	return 0;
err_auth:
	pipefs_sb = rpc_get_sb_net(net);
	rpc_unregister_client(clnt);
	__rpc_clnt_remove_pipedir(clnt);
out:
	if (pipefs_sb)