diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2001-06-21 13:08:16 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2001-06-21 13:08:16 +0000 |
commit | 2dbfd090db438eaf05ca66a1de9a0434ccf2063d (patch) | |
tree | d3d01211cff9b404c2413f9603a9dc393c21c16a /sys/compat | |
parent | abb3a3ef8db76776924df75e841649f005696b88 (diff) |
Do not FREE() stuff allocated in a pool
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/svr4/svr4_misc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/compat/svr4/svr4_misc.c b/sys/compat/svr4/svr4_misc.c index 5f4a57c5d86..ca8883ca487 100644 --- a/sys/compat/svr4/svr4_misc.c +++ b/sys/compat/svr4/svr4_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: svr4_misc.c,v 1.30 2001/05/05 21:26:43 art Exp $ */ +/* $OpenBSD: svr4_misc.c,v 1.31 2001/06/21 13:08:15 niklas Exp $ */ /* $NetBSD: svr4_misc.c,v 1.42 1996/12/06 03:22:34 christos Exp $ */ /* @@ -53,6 +53,7 @@ #include <sys/ktrace.h> #include <sys/mman.h> #include <sys/mount.h> +#include <sys/pool.h> #include <sys/resource.h> #include <sys/resourcevar.h> #include <sys/socket.h> @@ -1150,7 +1151,7 @@ loop: * release while still running in process context. */ cpu_wait(q); - FREE(q, M_PROC); + pool_put(&proc_pool, q); nprocs--; return 0; } |