Function esp_idf_svc::sys::heap_caps_free
source ยท pub unsafe extern "C" fn heap_caps_free(ptr: *mut c_void)
Expand description
@brief Free memory previously allocated via heap_caps_malloc() or heap_caps_realloc().
Equivalent semantics to libc free(), for capability-aware memory.
In IDF, free(p)
is equivalent to heap_caps_free(p)
.
@param ptr Pointer to memory previously returned from heap_caps_malloc() or heap_caps_realloc(). Can be NULL.