From c87ad0b2390f95c9c09fe1460c68a8d3d713b378 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 1 Nov 2014 17:15:37 +1100 Subject: [PATCH] Do not double close socket sent to get_fd --- src/libckpool.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libckpool.c b/src/libckpool.c index 8cdd4ef1..dab6799e 100644 --- a/src/libckpool.c +++ b/src/libckpool.c @@ -970,7 +970,6 @@ int _get_fd(int sockd, const char *file, const char *func, const int line) goto out; } out: - Close(sockd); cm = (int *)CMSG_DATA(cmptr); newfd = *cm; free(cmptr);