patch-2.1.57 linux/net/sunrpc/clnt.c
Next file: linux/net/unix/af_unix.c
Previous file: linux/net/rose/af_rose.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Tue Sep 23 13:29:54 1997
- Orig file:
v2.1.56/linux/net/sunrpc/clnt.c
- Orig date:
Tue Sep 23 16:48:50 1997
diff -u --recursive --new-file v2.1.56/linux/net/sunrpc/clnt.c linux/net/sunrpc/clnt.c
@@ -142,7 +142,10 @@
dprintk("RPC: destroying %s client for %s\n",
clnt->cl_protname, clnt->cl_server);
- rpcauth_destroy(clnt->cl_auth);
+ if (clnt->cl_auth) {
+ rpcauth_destroy(clnt->cl_auth);
+ clnt->cl_auth = NULL;
+ }
if (clnt->cl_xprt) {
xprt_destroy(clnt->cl_xprt);
clnt->cl_xprt = NULL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov