add_handle and malloc

Conrad Scott
Mon Aug 5 22:39:00 GMT 2002

"Christopher Faylor" <> wrote:
> If there is a handle leak then the thread^Wdebug code
> should be a good clue where it is.
> If you look at the cygheap->debug.freeh table it should
> be filled with a repeating handle, I would think.

Thanks for the pointer.  That's roughly where I've just reached: I
kept getting distracted (mainly by breaking the DLL w/ some
stoopid debugging hack).  It looks like it's cygwin_mount_h, at
memory_init():155.  I'll go and zap something.

I'll pick up your latest cygthread update soon.

// Conrad

More information about the Cygwin-patches mailing list