diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-01-25 15:00:27 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-01-25 15:00:27 +0000 |
commit | 9dc59f18e0ffc7748a191db23fa165d6c328c97e (patch) | |
tree | ceb3d1526cc55464edbecf0665a88c8a7e1ce98c /sys/kern/kern_exit.c | |
parent | fa20485a7e7824f15a024d383b6757f23a00e968 (diff) |
poolify pcreds.
Diffstat (limited to 'sys/kern/kern_exit.c')
-rw-r--r-- | sys/kern/kern_exit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index a1adcbc52ff..8224f0e2e87 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exit.c,v 1.39 2002/01/23 15:46:48 art Exp $ */ +/* $OpenBSD: kern_exit.c,v 1.40 2002/01/25 15:00:26 art Exp $ */ /* $NetBSD: kern_exit.c,v 1.39 1996/04/22 01:38:25 christos Exp $ */ /* @@ -536,7 +536,7 @@ proc_zap(p) */ if (--p->p_cred->p_refcnt == 0) { crfree(p->p_cred->pc_ucred); - FREE(p->p_cred, M_SUBPROC); + pool_put(&pcred_pool, p->p_cred); } /* |