in src/fc_erdl_argc_argv.c [167:181]
void FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST_free(FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST* fabric_endpoint_resource_description_list)
{
if (fabric_endpoint_resource_description_list == NULL)
{
LogError("invalid argument FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_LIST* fabric_endpoint_resource_description_list=%p", fabric_endpoint_resource_description_list);
}
else
{
for (ULONG i = 0; i < fabric_endpoint_resource_description_list->Count; i++)
{
FABRIC_ENDPOINT_RESOURCE_DESCRIPTION_free((FABRIC_ENDPOINT_RESOURCE_DESCRIPTION*)(fabric_endpoint_resource_description_list->Items + i));
}
free((void*)fabric_endpoint_resource_description_list->Items);
}
}