summaryrefslogtreecommitdiffstats
path: root/sys/i386/ibcs2/imgact_coff.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/ibcs2/imgact_coff.c')
-rw-r--r--sys/i386/ibcs2/imgact_coff.c2
1 files changed, 1 insertions, 1 deletions
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;
}
OpenPOWER on IntegriCloud