diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2001-02-21 06:39:57 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2001-02-21 06:39:57 +0000 |
| commit | 91421ba234a918c8b8d1ed71c25a69c0009a8a12 (patch) | |
| tree | 62ed6a4e927ad5a5244e6886e043f1bb4f3feab9 /sys/kern/kern_exit.c | |
| parent | 666fd63da7d1db26cdaa7adc523c84d8d64226f8 (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_exit.c')
| -rw-r--r-- | sys/kern/kern_exit.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index 71e6288215e6..440ee3a5eb7b 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -528,15 +528,6 @@ loop: } /* - * Destroy empty prisons - */ - if (p->p_prison && !--p->p_prison->pr_ref) { - if (p->p_prison->pr_linux != NULL) - FREE(p->p_prison->pr_linux, M_PRISON); - FREE(p->p_prison, M_PRISON); - } - - /* * Remove unused arguments */ if (p->p_args && --p->p_args->ar_ref == 0) |
