openHiTLS API openHiTLS 0.1.0-Alpha1
|
◆ BSL_LIST_FREE_AFTER_SORT
值:
do { \
BSL_LIST_DeleteAllAfterSort(pList); \
if (NULL != (pList)) { \
BSL_SAL_FREE(pList); \
(pList) = NULL; \
} \
} while (0)
Delete all the nodes in the list and then frees the header. But it does not delete the data pointers inside the list nodes. It is used only after sort to delete the input list to the sort function. |