summaryrefslogtreecommitdiffstats
path: root/sys/svr4/svr4_sysvec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/svr4/svr4_sysvec.c')
-rw-r--r--sys/svr4/svr4_sysvec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/svr4/svr4_sysvec.c b/sys/svr4/svr4_sysvec.c
index f88b7d1..fbd4212 100644
--- a/sys/svr4/svr4_sysvec.c
+++ b/sys/svr4/svr4_sysvec.c
@@ -296,6 +296,7 @@ svr4_emul_find(p, sgp, prefix, path, pbuf, cflag)
free(buf, M_TEMP);
return error;
}
+ NDFREE(&nd, NDF_ONLY_PNBUF);
*cp = '/';
}
@@ -306,6 +307,7 @@ svr4_emul_find(p, sgp, prefix, path, pbuf, cflag)
free(buf, M_TEMP);
return error;
}
+ NDFREE(&nd, NDF_ONLY_PNBUF);
/*
* We now compare the vnode of the svr4_root to the one
@@ -324,6 +326,7 @@ svr4_emul_find(p, sgp, prefix, path, pbuf, cflag)
vrele(nd.ni_vp);
return error;
}
+ NDFREE(&ndroot, NDF_ONLY_PNBUF);
if ((error = VOP_GETATTR(nd.ni_vp, &vat, p->p_ucred, p)) != 0) {
goto done;
OpenPOWER on IntegriCloud