Memory leak in select

Thomas Stalder cygwinml@gmail.com
Wed Apr 20 13:49:00 GMT 2011


Hello,

I just have a question, the same change would it not necessary for the
functions: serial_cleanup, mailslot_cleanup and socket_cleanup in
select.cc (like attached patch) ?

I don't know, it's just a question. The patch are not tested.

Regards,

Thomas

2011/4/20 Christopher Faylor
>>2011-04-19  Peter Rosin  <peda@lysator.liu.se>
>>
>>       * select.cc (pipe_cleanup): Don't leak a select_pipe_info when a
>>       thread turned out not to be needed.
>
> Makes sense.  I've checked this in (with a different ChangeLog).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: select.patch
Type: application/octet-stream
Size: 1413 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20110420/36bf46d5/attachment.obj>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list