Index: head/sys/fs/nfsserver/nfs_nfsdserv.c =================================================================== --- head/sys/fs/nfsserver/nfs_nfsdserv.c +++ head/sys/fs/nfsserver/nfs_nfsdserv.c @@ -2720,6 +2720,8 @@ stp->ls_stateid.seqid = 0; } else { nd->nd_repstat = NFSERR_BADSTATEID; + free(stp, M_NFSDSTATE); + free(lop, M_NFSDLOCK); goto nfsmout; } }