diff options
| author | David Greenman <dg@FreeBSD.org> | 1997-04-04 07:30:44 +0000 |
|---|---|---|
| committer | David Greenman <dg@FreeBSD.org> | 1997-04-04 07:30:44 +0000 |
| commit | d86aa8b7c9e3b326d8019b6195636b8e8ebfd6cd (patch) | |
| tree | 86a792c7612a03730fbc4578adfa4d615b9f22e5 /sys/kern | |
| parent | 463d56f4bcc7372bc01e2a1d710b93ebb10a314a (diff) | |
Notes
Diffstat (limited to 'sys/kern')
| -rw-r--r-- | sys/kern/kern_exec.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index f5c5e4ac8e63..a47ec082328e 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kern_exec.c,v 1.47.2.4 1997/04/04 01:32:09 davidg Exp $ + * $Id: kern_exec.c,v 1.47.2.5 1997/04/04 04:18:20 davidg Exp $ */ #include <sys/param.h> @@ -345,9 +345,10 @@ exec_fail_dealloc: brelse(bp); else if (imgp->image_header != NULL) free((void *)imgp->image_header, M_TEMP); - if (ndp->ni_vp) + if (ndp->ni_vp) { vrele(ndp->ni_vp); - FREE(ndp->ni_cnd.cn_pnbuf, M_NAMEI); + FREE(ndp->ni_cnd.cn_pnbuf, M_NAMEI); + } exec_fail: if (imgp->vmspace_destroyed) { |
