From 87724eb67358c0993676ad3dfe9091e192a653f4 Mon Sep 17 00:00:00 2001 From: eivind Date: Wed, 15 Dec 1999 23:02:35 +0000 Subject: Introduce NDFREE (and remove VOP_ABORTOP) --- sys/i386/ibcs2/imgact_coff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/i386/ibcs2/imgact_coff.c') diff --git a/sys/i386/ibcs2/imgact_coff.c b/sys/i386/ibcs2/imgact_coff.c index 526ff66..1ada323 100644 --- a/sys/i386/ibcs2/imgact_coff.c +++ b/sys/i386/ibcs2/imgact_coff.c @@ -279,8 +279,8 @@ coff_load_file(struct proc *p, char *name) fail: VOP_UNLOCK(vp, 0, p); unlocked_fail: + NDFREE(&nd, NDF_ONLY_PNBUF); vrele(nd.ni_vp); - zfree(namei_zone, nd.ni_cnd.cn_pnbuf); return error; } -- cgit v1.1