summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2002-08-20 14:56:06 +0000
committeryar <yar@FreeBSD.org>2002-08-20 14:56:06 +0000
commita5929f9a8823713901e4fb9a3162faa98aa59388 (patch)
tree7e762fe4ed6aa9b786288fafb609f87b79bf3b68 /usr.bin
parent341b7477e77178c127194a8dc6f88542c946492d (diff)
downloadFreeBSD-src-a5929f9a8823713901e4fb9a3162faa98aa59388.zip
FreeBSD-src-a5929f9a8823713901e4fb9a3162faa98aa59388.tar.gz
Clean up hostname and hostinfo handling in inithosts():
o check getaddrinfo(3) return value, not result pointer o getaddrinfo(3) returns int, not pointer o don't leak memory allocated for hostnames and hostinfo structures o initialize pointers that will be checked for NULL somewhere MFC after: 1 week
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud