1. NAME

mempool_destroy - deallocate a memory pool

2. SYNOPSIS

void mempool_destroy(mempool_t *  pool );

3. ARGUMENTS

pool
    pointer to the memory pool which was allocated via mempool_create.

4. DESCRIPTION

Free all reserved elements in pool and pool itself. This function only sleeps if the free_fn function sleeps.

5. COPYRIGHT