freebsd_amp_hwpstate/sys/nfsclient
Ian Dowse 02b31a0ee9 Fix a client-side memory leak in nfs_flush(). The code allocates
a temporary array to store struct buf pointers if the list doesn't
fit in a local array. Usually it frees the array when finished,
but if it jumps to the 'again' label and the new list does fit in
the local array then it can forget to free a previously malloc'd
M_TEMP memory.

Move the free() up a line so that it frees any previously allocated
memory whether or not it needs to malloc a new array.

Reviewed by:	dillon
2001-08-01 10:25:13 +00:00
..
bootp_subr.c
krpc.h
krpc_subr.c
nfs.h
nfs_bio.c - Sort includes. 2001-07-04 20:14:59 +00:00
nfs_lock.c Unlock the process returned from pfind() if it does not return NULL. 2001-06-01 01:30:51 +00:00
nfs_lock.h
nfs_nfsiod.c
nfs_node.c
nfs_socket.c
nfs_subs.c With Alfred's permission, remove vm_mtx in favor of a fine-grained approach 2001-07-04 16:20:28 +00:00
nfs_vfsops.c Check the filehandle size when mounting. 2001-07-30 20:01:59 +00:00
nfs_vnops.c Fix a client-side memory leak in nfs_flush(). The code allocates 2001-08-01 10:25:13 +00:00
nfsargs.h
nfsdiskless.h
nfsm_subs.h
nfsmount.h
nfsnode.h
nfsstats.h
nlminfo.h