public inbox for
help / color / mirror / Atom feed
From: Ken Brown <>
Subject: [newlib-cygwin] Cygwin: FIFO: update_my_handlers: fix handle leak
Date: Fri,  6 Nov 2020 13:17:45 +0000 (GMT)	[thread overview]
Message-ID: <> (raw);h=26a5aff2a90fb7b2536ec64cfe87fc403ea3c5a0

commit 26a5aff2a90fb7b2536ec64cfe87fc403ea3c5a0
Author: Ken Brown <>
Date:   Fri Nov 6 08:16:45 2020 -0500

    Cygwin: FIFO: update_my_handlers: fix handle leak

 winsup/cygwin/ | 1 +
 1 file changed, 1 insertion(+)

diff --git a/winsup/cygwin/ b/winsup/cygwin/
index 75c8406fe..3af7e2f72 100644
--- a/winsup/cygwin/
+++ b/winsup/cygwin/
@@ -457,6 +457,7 @@ fhandler_fifo::update_my_handlers ()
   fifo_client_unlock ();
+  NtClose (prev_proc);
   set_prev_owner (null_fr_id);
   return ret;

                 reply	other threads:[~2020-11-06 13:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).