---
name: "mempool_free"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/mempool_free"
---

# mempool\_free(9)

return an element to the pool.

## NAME

mempool\_free - return an element to the pool.

## SYNOPSIS

**void mempool\_free(void \*** *element***, mempool\_t \*** *pool***);**

## ARGUMENTS

*element*

pool element pointer.

*pool*

pointer to the memory pool which was allocated via **mempool\_create**.

## DESCRIPTION

this function only sleeps if the **free\_fn** function sleeps.

## COPYRIGHT
