summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_pool.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c
index f8a42136896..d7ffaec5f9f 100644
--- a/sys/kern/subr_pool.c
+++ b/sys/kern/subr_pool.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_pool.c,v 1.20 2002/01/23 00:39:47 art Exp $ */
+/* $OpenBSD: subr_pool.c,v 1.21 2002/01/23 01:44:20 art Exp $ */
/* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */
/*-
@@ -575,9 +575,6 @@ pool_destroy(struct pool *pp)
if ((pp->pr_roflags & PR_LOGGING) != 0)
free(pp->pr_log, M_TEMP);
#endif
-
- if (pp->pr_roflags & PR_FREEHEADER)
- free(pp, M_POOL);
}
static __inline struct pool_item_header *