crm_malloc(agent, sizeof(lrm_agent_t));
crm_malloc0(agent, sizeof(lrm_agent_t));
unpack_lrm_agents(node_t *node, crm_data_t * agent_list){	/* if the agent is not listed, remove the node from	 * the resource's list of allowed_nodes	 */	lrm_agent_t *agent   = NULL;	const char *version  = NULL;	if(agent_list == NULL) {		return FALSE;	}	xml_child_iter(		agent_list, xml_agent, XML_LRM_TAG_AGENT,		crm_malloc(agent, sizeof(lrm_agent_t));		if(agent == NULL) {			continue;		}