diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/win32/pipe/pipe.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |
