X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0	tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4DAE8E5A.7000606@lysator.liu.se>
Date: Wed, 20 Apr 2011 09:42:18 +0200
From: Peter Rosin <peda@lysator.liu.se>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Memory leak in select
References: <4DAC23E3.2020005@lysator.liu.se> <4DAC2D35.5070106@lysator.liu.se> <4DAC4B6A.50101@lysator.liu.se> <20110418152441.GA12913@ednor.casa.cgf.cx> <20110418152801.GA11182@ednor.casa.cgf.cx> <4DAC8F96.3080808@lysator.liu.se> <4DADFF3A.1060006@lysator.liu.se> <20110420011057.GA453@ednor.casa.cgf.cx>
In-Reply-To: <20110420011057.GA453@ednor.casa.cgf.cx>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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

