cvs commit: src/sys/kern tty.c

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Thu, 30 Dec 2004 19:24:49 +0000 (UTC)
jhb         2004-12-30 19:24:49 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             tty.c 
  Log:
  Call tty_close() at the very end of ttyclose() since otherwise NULL
  deferences can occur since tty_close() may end up freeing the tty structure
  if it drops the last reference to it.
  
  Glanced at by:  phk
  
  Revision  Changes    Path
  1.244     +1 -1      src/sys/kern/tty.c
Received on Thu Dec 30 2004 - 19:24:49 UTC