Skip to content
Commit b5f4d837 authored by Tomasz Moń's avatar Tomasz Moń Committed by Carles Cufí
Browse files

net: buf: Preserve buffer pointer in destroy callback



The use case is to have a netbuf pool that is used exclusively with
net_buf_alloc_with_data() where the destroy callback takes care of
freeing the actual data buffer pointed to by __buf.

Signed-off-by: default avatarTomasz Moń <tomasz.mon@nordicsemi.no>
parent d31424e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment