diff --git a/src/win32/pipe/pipe.cpp b/src/win32/pipe/pipe.cpp index f46094c80..36e6ef5ec 100644 --- a/src/win32/pipe/pipe.cpp +++ b/src/win32/pipe/pipe.cpp @@ -45,6 +45,7 @@ int pipe(int fds[2]) } int afd = accept(lfd, NULL, NULL); + close(lfd); if (afd == -1) { close(cfd);