static void _node_list__uninit(_node_list_t * pList)
{
	SG_free__no_ctx(pList->p);
	pList->p = NULL;
	pList->countAllocated = 0;
	pList->count = 0;
}
Esempio n. 2
0
/**
 * To keep the "foo__free(pCtx, pFoo)" form, we have to accept 2 args.
 * The 2nd is the one we are being asked to free.  The first should
 * probably be NULL.
 */
void SG_context__free(SG_context * pCtxToFree)
{
	if (!pCtxToFree)
		return;

	(void)SG_free__no_ctx(pCtxToFree);
}