nfs/svc_socket.c:137: leaked_handle: Handle variable "sock" going out of scope leaks the handle. Signed-off-by: Steve Dickson <steved@xxxxxxxxxx> --- support/nfs/svc_socket.c | 1 + 1 file changed, 1 insertion(+) diff --git a/support/nfs/svc_socket.c b/support/nfs/svc_socket.c index d56507a..5afc6aa 100644 --- a/support/nfs/svc_socket.c +++ b/support/nfs/svc_socket.c @@ -134,6 +134,7 @@ svc_socket (u_long number, int type, int protocol, int reuse) if (ret < 0) { xlog(L_ERROR, "svc_socket: socket reuse problem: %m"); + (void) __close(sock); return ret; } } -- 2.20.1