Function openthread_sys::otPlatFree

source ·
pub unsafe extern "C" fn otPlatFree(aPtr: *mut c_void)
Expand description

Frees memory that was dynamically allocated.

Is required for OPENTHREAD_CONFIG_HEAP_EXTERNAL_ENABLE.

@param[in] aPtr A pointer the memory blocks to free. The pointer may be NULL.