This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Memory leak in select
Den 2011-04-20 03:10 skrev Christopher Faylor:
> On Tue, Apr 19, 2011 at 11:31:38PM +0200, Peter Rosin wrote:
>>>>>>> Den 2011-04-18 13:43 skrev Peter Rosin:
>>>>>>>> Using the following STC, I'm seeing what appears to be a memory
>>>>>>>> leak in select(2).
>> Back with a patch this time. Fixes it for me...
>>
>> 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).
>
> Thanks for the patch.
Excellent, thanks!
Cheers,
Peter
--
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