* John Baldwin <[EMAIL PROTECTED]> wrote:
> Why aren't the pty's destroyed?  Once all references to the pty are closed it 
>  
> should be destroyed and the resulting devfs_free() should drop the reference.
> Is the pty somehow stuck on the dead_cdevsw?
Ouch! I found a comment in tty_pty.c that it doesn't deallocate pty's
anymore. Not a single destroy_dev() is called by tty_pty.c. This means
the FreeBSD kernel leaks a lot of cdev's and thus ucred's and my patch
is working around another bug.

Yours,
-- 
 Ed Schouten <[EMAIL PROTECTED]>
 WWW: http://g-rave.nl/

Attachment: pgpH6aK0qVc4U.pgp
Description: PGP signature

Reply via email to