aboutsummaryrefslogtreecommitdiff
path: root/lib/isc/pool.c
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2015-10-01 07:47:44 +0000
committerErwin Lansing <erwin@FreeBSD.org>2015-10-01 07:47:44 +0000
commitff14d03521a89636be959e65a21374951fe699ba (patch)
treef50c4271d12b6939db067758ade30df93a038a91 /lib/isc/pool.c
parentb04f5d3d3ff49c604e768add0cf35600b9eee074 (diff)
Vendor import of BIND 9.9.8vendor/bind9/9.9.8
Sponsored by: DK Hostmaster A/S
Diffstat (limited to 'lib/isc/pool.c')
-rw-r--r--lib/isc/pool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/isc/pool.c b/lib/isc/pool.c
index 509abcb418d4..fe25cb472d73 100644
--- a/lib/isc/pool.c
+++ b/lib/isc/pool.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2013 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2013, 2015 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -70,7 +70,7 @@ alloc_pool(isc_mem_t *mctx, unsigned int count, isc_pool_t **poolp) {
isc_result_t
isc_pool_create(isc_mem_t *mctx, unsigned int count,
- isc_pooldeallocator_t free,
+ isc_pooldeallocator_t release,
isc_poolinitializer_t init, void *initarg,
isc_pool_t **poolp)
{
@@ -85,7 +85,7 @@ isc_pool_create(isc_mem_t *mctx, unsigned int count,
if (result != ISC_R_SUCCESS)
return (result);
- pool->free = free;
+ pool->free = release;
pool->init = init;
pool->initarg = initarg;