freebsd-nq/sys/nfs
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_subr.c
krpc.h
nfs_bio.c - Sort includes. 2001-07-04 20:14:59 +00:00
nfs_common.c With Alfred's permission, remove vm_mtx in favor of a fine-grained approach 2001-07-04 16:20:28 +00:00
nfs_common.h
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_node.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
nfs_nqlease.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
nfs_serv.c
nfs_socket.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
nfs_srvcache.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_syscalls.c
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
nfs.h
nfsdiskless.h
nfsm_subs.h
nfsmount.h
nfsnode.h
nfsproto.h
nfsrtt.h
nfsrvcache.h
nfsv2.h
nlminfo.h
nqnfs.h
rpcv2.h
xdr_subs.h