Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 06/02/2000 06:13:13
Module Name: basesrc
Committed By: itojun
Date: Fri Jun 2 13:13:13 UTC 2000
Modified Files:
basesrc/lib/libc/gen: getcap.c
basesrc/lib/libterm: termcap.c tgoto.c tputs.c
Log Message:
correct memory leak due to t_getstr() and realloc(). the commit will
prevent "top -s 0" from chewing up memory.
TODO: realloc() audit, revisit recent termcap/curses changes
To generate a diff of this commit:
cvs rdiff -r1.32 -r1.33 basesrc/lib/libc/gen/getcap.c
cvs rdiff -r1.32 -r1.33 basesrc/lib/libterm/termcap.c
cvs rdiff -r1.15 -r1.16 basesrc/lib/libterm/tgoto.c
cvs rdiff -r1.14 -r1.15 basesrc/lib/libterm/tputs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.