diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 05:19:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 05:19:34 +0000 |
commit | 0b1e65db7b3fc3c7d5572cc348ef03a53fcb56e7 (patch) | |
tree | 47642d0f71ff1a92476603e9773e56b75a4b1b61 /sys/kern/kern_exit.c | |
parent | 94e7bd1c1ec76c7e08243e8e674c3ce5395b1de8 (diff) |
from netbsd; limfree()
Diffstat (limited to 'sys/kern/kern_exit.c')
-rw-r--r-- | sys/kern/kern_exit.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index 466dd88ddc5..27a12beee9a 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -1,4 +1,4 @@ -/* $NetBSD: kern_exit.c,v 1.33 1995/10/07 06:28:13 mycroft Exp $ */ +/* $NetBSD: kern_exit.c,v 1.34 1995/12/09 04:09:32 mycroft Exp $ */ /* * Copyright (c) 1982, 1986, 1989, 1991, 1993 @@ -253,8 +253,7 @@ exit1(p, rv) * Other substructures are freed from wait(). */ curproc = NULL; - if (--p->p_limit->p_refcnt == 0) - FREE(p->p_limit, M_SUBPROC); + limfree(p->p_limit); /* * Finally, call machine-dependent code to release the remaining |