Skip to content
Commit 7d887cb6 authored by Johan Hedberg's avatar Johan Hedberg Committed by Anas Nashif
Browse files

mempool: Add k_mem_pool_free_id API



The k_mem_pool_free API has no use for the full k_mem_block struct. In
particular, it only needs the k_mem_block_id. Introduce a new API
which takes only this essential struct. This paves the way to
simplify & improve the k_malloc/k_free implementation a bit.

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent af0bf06a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment