Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 1997 03:25:39 -0700 (PDT)
From:      David Nugent <davidn@FreeBSD.ORG>
To:        CVS-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-libexec@FreeBSD.ORG
Subject:   cvs commit:  src/libexec/getty subr.c
Message-ID:  <199705111025.DAA07222@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
davidn      97/05/11 03:25:39

  Modified:    libexec/getty  subr.c
  Log:
  Fix memory leak caused by not freeing memory returned by cgetstr()
  calls. The cost is a little more up-front memory allocation, but the
  effect seems minimal.
  
  Problem noticed-by: bde
  
  Added syslog at LOG_ERR when referencing an unknown gettytab entry
  and for other cgetent() failues (circular reference et al).
  
  To be merged into 2.2 after a few days testing.
  
  Revision  Changes    Path
  1.10      +80 -8     src/libexec/getty/subr.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705111025.DAA07222>