openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_LIST_FREE

#define BSL_LIST_FREE (   pList,
  pFreeFunc 
)
Value:
do { \
BSL_LIST_DeleteAll((pList), pFreeFunc); \
if (NULL != (pList)) { \
BSL_SAL_FREE(pList); \
(pList) = NULL; \
(void)(pList); \
} \
} while (0)

Delete all the nodes in the list and then frees the header