Skip to content

Commit b4bed6f

Browse files
committed
Fix bug #66008
1 parent 4ded6ee commit b4bed6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sapi/fpm/fpm/fpm_sockets.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@ int fpm_socket_unix_test_connect(struct sockaddr_un *sock, size_t socklen) /* {{
487487
}
488488

489489
if (connect(fd, (struct sockaddr *)sock, socklen) == -1) {
490+
close(fd);
490491
return -1;
491492
}
492493

0 commit comments

Comments
 (0)