public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: FIFO: update_my_handlers: fix handle leak
@ 2020-11-06 13:17 Ken Brown
  0 siblings, 0 replies; only message in thread
From: Ken Brown @ 2020-11-06 13:17 UTC (permalink / raw)
  To: cygwin-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=26a5aff2a90fb7b2536ec64cfe87fc403ea3c5a0

commit 26a5aff2a90fb7b2536ec64cfe87fc403ea3c5a0
Author: Ken Brown <kbrown@cornell.edu>
Date:   Fri Nov 6 08:16:45 2020 -0500

    Cygwin: FIFO: update_my_handlers: fix handle leak

Diff:
---
 winsup/cygwin/fhandler_fifo.cc | 1 +
 1 file changed, 1 insertion(+)

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-06 13:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-06 13:17 [newlib-cygwin] Cygwin: FIFO: update_my_handlers: fix handle leak Ken Brown

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).