diff options
author | dfr <dfr@FreeBSD.org> | 1997-05-20 08:06:31 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1997-05-20 08:06:31 +0000 |
commit | a24aff37ce7297bed99cd45c3267981f24794fd6 (patch) | |
tree | 390e93d4b7c6e2b97c91c58eaa8038c05edbd4d5 /sys/nfsclient | |
parent | 25b909ade1af3a9f96ba00a7dd5132635ceb5f46 (diff) | |
download | FreeBSD-src-a24aff37ce7297bed99cd45c3267981f24794fd6.zip FreeBSD-src-a24aff37ce7297bed99cd45c3267981f24794fd6.tar.gz |
Plug a memory leak in nfs_link.
PR: kern/1001
Diffstat (limited to 'sys/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfsclient/nfs_vnops.c b/sys/nfsclient/nfs_vnops.c index ff5ad94..c33d22c 100644 --- a/sys/nfsclient/nfs_vnops.c +++ b/sys/nfsclient/nfs_vnops.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_vnops.c 8.16 (Berkeley) 5/27/95 - * $Id: nfs_vnops.c,v 1.49 1997/05/17 18:32:52 phk Exp $ + * $Id: nfs_vnops.c,v 1.50 1997/05/19 14:36:50 dfr Exp $ */ @@ -1768,7 +1768,7 @@ nfs_link(ap) int v3 = NFS_ISV3(vp); if (vp->v_mount != tdvp->v_mount) { - /*VOP_ABORTOP(vp, cnp);*/ + VOP_ABORTOP(vp, cnp); if (tdvp == vp) vrele(tdvp); else |