Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc/libexec/talkd



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.




Home | Main Index | Thread Index | Old Index