1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 13:23:14 +02:00

Fixed fd leak in win32/pipe.cpp

This commit is contained in:
Adam
2012-06-06 15:16:46 -04:00
parent a661098ef2
commit 3626fb246e
+1
View File
@@ -45,6 +45,7 @@ int pipe(int fds[2])
}
int afd = accept(lfd, NULL, NULL);
close(lfd);
if (afd == -1)
{
close(cfd);