summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-02-09 22:26:06 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-02-09 22:26:06 +0000
commit95ed493447f47aa3e13bae3e21626833cc6ddc35 (patch)
tree95ea65c336ebae76b45b2282f2f5f2d3a7cfae12 /sys
parent1bd4318d2c2bcdc45b4f63692b4d7af75ca821de (diff)
use correct FREE() do dispose sillyrename on fail; deraadt@ ok
Diffstat (limited to 'sys')
-rw-r--r--sys/nfs/nfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_vnops.c b/sys/nfs/nfs_vnops.c
index 4e2fd449ca2..87dc935fc5c 100644
--- a/sys/nfs/nfs_vnops.c
+++ b/sys/nfs/nfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_vnops.c,v 1.26 2000/02/02 04:59:07 millert Exp $ */
+/* $OpenBSD: nfs_vnops.c,v 1.27 2001/02/09 22:26:05 mickey Exp $ */
/* $NetBSD: nfs_vnops.c,v 1.62.4.1 1996/07/08 20:26:52 jtc Exp $ */
/*
@@ -2414,7 +2414,7 @@ nfs_sillyrename(dvp, vp, cnp)
bad:
vrele(sp->s_dvp);
crfree(sp->s_cred);
- free((caddr_t)sp, M_NFSREQ);
+ FREE((caddr_t)sp, M_NFSREQ);
return (error);
}