Skip to content
Commit 76e4cd9d authored by Carles Cufi's avatar Carles Cufi Committed by Anas Nashif
Browse files

kernel: mem_slab: Add assert to k_mem_slab_free()



Add an assert to ensure the pointer provided by the user points to one
of the available blocks in the slab.

Signed-off-by: default avatarCarles Cufi <carles.cufi@nordicsemi.no>
parent 8c748fd0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment