aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/clnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r--net/sunrpc/clnt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c
index 209aaf595695..99515d7727a6 100644
--- a/net/sunrpc/clnt.c
+++ b/net/sunrpc/clnt.c
@@ -178,6 +178,7 @@ out_no_path:
178 kfree(clnt->cl_server); 178 kfree(clnt->cl_server);
179 kfree(clnt); 179 kfree(clnt);
180out_err: 180out_err:
181 xprt_destroy(xprt);
181 return ERR_PTR(err); 182 return ERR_PTR(err);
182} 183}
183 184