summaryrefslogtreecommitdiff
path: root/lib/isc/pool.c
diff options
context:
space:
mode:
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;