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
nfs_common.c
nfs_common.h
nfs_lock.c
nfs_lock.h
nfs_node.c
nfs_nqlease.c
nfs_serv.c
nfs_socket.c
nfs_srvcache.c
nfs_subs.c
nfs_syscalls.c
nfs_vfsops.c
nfs_vnops.c
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