X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: Re: _kbhit & memory leak in select() Date: Fri, 10 Feb 2006 18:25:36 -0500 Message-ID: <6CA15ADD82E5724F88CB53D50E61C9AE9ECE5D@cgcmail.cgc.cpmc.columbia.edu> From: "Michiel De Hoon" To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k1ANPlY4021562 > On Feb 5 13:17, Michiel De Hoon wrote: > > 1) Where is the select_record deleted? The select_stuff variable sel will be > > gone after we exit cygwin_select, and with it the pointer to the > > select_record we allocated in select_read. > > In the select_stuff destructor. Ha. You're right. I guess I have been doing too much C lately and forgot my basic C++. Thanks, Corinna. --Michiel. Michiel de Hoon Center for Computational Biology and Bioinformatics Columbia University 1150 St Nicholas Avenue New York, NY 10032 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/