_kbhit & memory leak in select()

Michiel De Hoon mdehoon@c2b2.columbia.edu
Fri Feb 10 23:58:00 GMT 2006


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



More information about the Cygwin mailing list