diff options
Diffstat (limited to 'winsup/cygwin/pipe.cc')
-rw-r--r-- | winsup/cygwin/pipe.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc index 2b711b7..bfca32e 100644 --- a/winsup/cygwin/pipe.cc +++ b/winsup/cygwin/pipe.cc @@ -138,6 +138,7 @@ fhandler_pipe::dup (fhandler_base *child) fhandler_pipe *ftp = (fhandler_pipe *) child; + /* FIXME: This leaks handles in the failing condition */ if (guard == NULL) ftp->guard = NULL; else if (!DuplicateHandle (hMainProc, guard, hMainProc, &ftp->guard, 0, 1, |