summaryrefslogtreecommitdiffstats
path: root/usr.bin/lockf
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2001-05-13 00:07:03 +0000
committeriedowse <iedowse@FreeBSD.org>2001-05-13 00:07:03 +0000
commit0ed7ba54b3471331d3d3726dc8089f9fb2658d87 (patch)
tree9085bc6a50d6fb1878aaf41061be21aac2c461db /usr.bin/lockf
parentf4c99b3d8ebdf658215a72230dd543f62e5f5d5f (diff)
downloadFreeBSD-src-0ed7ba54b3471331d3d3726dc8089f9fb2658d87.zip
FreeBSD-src-0ed7ba54b3471331d3d3726dc8089f9fb2658d87.tar.gz
- Split out the {family,socktype}->netid conversion into a separate
function; we now handle unknown protocols more gracefully. - Cache the return from getnetconfigent() so that we don't have to remember to call freenetconfigent() each time. This fixes a memory leak that would cause retrying background mount_nfs processes to slowly increase their memory usage.
Diffstat (limited to 'usr.bin/lockf')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud