summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_lock.c
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2002-08-27 09:02:52 +0000
committeryar <yar@FreeBSD.org>2002-08-27 09:02:52 +0000
commit9841ff7102fcb9adf7cbf725f1ef2d2ffda1641e (patch)
tree032f8774352b49bbc4127d4bc1ada4596b130256 /sys/kern/kern_lock.c
parentb2179b4b1a82c29ee2cd1467d3ae4b5958d4f18d (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud