From: Christopher Faylor Date: Sat, 14 Dec 2002 05:10:18 +0000 (+0000) Subject: add FIXME X-Git-Tag: newlib-1_11_0~41 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=ae31932c4fde27f432b53299b9011ed0a33a62f1;p=newlib-cygwin.git add FIXME --- diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc index 2b711b7df..bfca32e19 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,