diff options
Diffstat (limited to 'mem-pool.h')
-rw-r--r-- | mem-pool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mem-pool.h b/mem-pool.h index ca062c9070..870161ab44 100644 --- a/mem-pool.h +++ b/mem-pool.h @@ -24,10 +24,10 @@ struct mem_pool { /* * Initialize mem_pool with specified initial size. */ -void mem_pool_init(struct mem_pool **mem_pool, size_t initial_size); +void mem_pool_init(struct mem_pool *pool, size_t initial_size); /* - * Discard a memory pool and free all the memory it is responsible for. + * Discard all the memory the memory pool is responsible for. */ void mem_pool_discard(struct mem_pool *mem_pool, int invalidate_memory); |