diff options
author | yar <yar@FreeBSD.org> | 2002-08-27 09:02:52 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2002-08-27 09:02:52 +0000 |
commit | 9841ff7102fcb9adf7cbf725f1ef2d2ffda1641e (patch) | |
tree | 032f8774352b49bbc4127d4bc1ada4596b130256 /sys/kern/kern_lock.c | |
parent | b2179b4b1a82c29ee2cd1467d3ae4b5958d4f18d (diff) | |
download | FreeBSD-src-9841ff7102fcb9adf7cbf725f1ef2d2ffda1641e.zip FreeBSD-src-9841ff7102fcb9adf7cbf725f1ef2d2ffda1641e.tar.gz |
More inithosts() fixes:
o Don't free(3) memory occupied by host structures
already in the host list.
o Set hrp->hostinfo to NULL if a host record has to stay in
the host list, but is to be ignored. Selecthost() knows that.
o Reduce the pollution with excessive NULL checks.
o Close a couple of memory leaks.
MFC after: 1 week
Diffstat (limited to 'sys/kern/kern_lock.c')
0 files changed, 0 insertions, 0 deletions