BOOL osHeapFree ( VOID *  pPool,
VOID *  pPtr  
)

Free memory block from heap memory.

Description:
This API is used to free memory block from heap memory.
注意:
  • None.
参数:
参数名称 描述
pPool  [IN/OUT] A pointer pointed to the memory pool.
pPtr  [IN] Point to be freed.
返回值:
返回值 描述
BOOL  TRUE free success FALSE free failed
Dependency:
  • los_heap.h: the header file that contains the API declaration.
参见:
osHeapAlloc
自从:
Huawei LiteOS V100R001C00