about summary refs log tree commit diff
path: root/sunrpc/portmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc/portmap.c')
-rw-r--r--sunrpc/portmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/portmap.c b/sunrpc/portmap.c
index 7a362ae9b0..a45170bf00 100644
--- a/sunrpc/portmap.c
+++ b/sunrpc/portmap.c
@@ -470,7 +470,7 @@ callit(rqstp, xprt)
 		AUTH_DESTROY(client->cl_auth);
 		clnt_destroy(client);
 	}
-	(void)close(socket);
+	/* (void)close(socket); clnt_destroy already closed it */
 	exit(0);
 }