delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/04/20/09:22:33

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 20 Apr 2011 15:21:37 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Memory leak in select
Message-ID: <20110420132137.GC5842@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4DAC23E3 DOT 2020005 AT lysator DOT liu DOT se> <4DAC2D35 DOT 5070106 AT lysator DOT liu DOT se> <4DAC4B6A DOT 50101 AT lysator DOT liu DOT se> <20110418152441 DOT GA12913 AT ednor DOT casa DOT cgf DOT cx> <20110418152801 DOT GA11182 AT ednor DOT casa DOT cgf DOT cx> <4DAC8F96 DOT 3080808 AT lysator DOT liu DOT se> <4DADFF3A DOT 1060006 AT lysator DOT liu DOT se> <20110420011057 DOT GA453 AT ednor DOT casa DOT cgf DOT cx> <BANLkTin0+sf0h=KZY5qMP9qfnPZd0XhSCg AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <BANLkTin0+sf0h=KZY5qMP9qfnPZd0XhSCg@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Apr 20 15:16, Thomas Stalder wrote:
> 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.

Maybe you should actually test it.  There's a good chance that
it fixes your memory issue.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019