Subject: CVS commit: basesrc/libexec/talkd
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 09/25/2002 07:57:59
Module Name:	basesrc
Committed By:	itojun
Date:		Wed Sep 25 04:57:59 UTC 2002

Modified Files:
	basesrc/libexec/talkd: announce.c

Log Message:
Allocate vis_user on the stack instead of using malloc().  This
way we don't have to worry about malloc() failure.  Also closes
a memory leak since vis_user was never free()d.  Lack of malloc()
checking pointed out by Peter Werner.
from openbsd


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 basesrc/libexec/talkd/announce.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.