Function esp_idf_svc::sys::multi_heap_free
source · pub unsafe extern "C" fn multi_heap_free(
heap: *mut multi_heap_info,
p: *mut c_void,
)
Expand description
@brief free() a buffer in a given heap.
Semantics are the same as standard free(), only the argument ‘p’ must be NULL or have been allocated in the specified heap.
@param heap Handle to a registered heap. @param p NULL, or a pointer previously returned from multi_heap_malloc() or multi_heap_realloc() for the same heap.