crm_malloc(transition_fuzz_timer, sizeof(te_timer_t));
crm_malloc0(transition_fuzz_timer, sizeof(te_timer_t));
initialize_graph(void){	if(transition_timer == NULL) {		crm_malloc(transition_timer, sizeof(te_timer_t));	    		transition_timer->timeout   = 10;		transition_timer->source_id = -1;		transition_timer->reason    = timeout_timeout;		transition_timer->action    = NULL;	} else {		stop_te_timer(transition_timer);	}		if(transition_fuzz_timer == NULL) {		crm_malloc(transition_fuzz_timer, sizeof(te_timer_t));			transition_fuzz_timer->timeout   = 10;		transition_fuzz_timer->source_id = -1;		transition_fuzz_timer->reason    = timeout_fuzz;		transition_fuzz_timer->action    = NULL;	} else {		stop_te_timer(transition_fuzz_timer);	}		while(g_list_length(graph) > 0) {		synapse_t *synapse = g_list_nth_data(graph, 0);		while(g_list_length(synapse->actions) > 0) {			action_t *action = g_list_nth_data(synapse->actions,0);			synapse->actions = g_list_remove(				synapse->actions, action);			if(action->timer->source_id > 0) {				crm_devel("Removing timer for action: %d",					  action->id);								g_source_remove(action->timer->source_id);			}			free_xml(action->xml);			crm_free(action->timer);			crm_free(action);		}		while(g_list_length(synapse->inputs) > 0) {			action_t *action = g_list_nth_data(synapse->inputs, 0);			synapse->inputs =				g_list_remove(synapse->inputs, action);			free_xml(action->xml);			crm_free(action);					}		graph = g_list_remove(graph, synapse);		crm_free(synapse);	}	graph = NULL;	return TRUE;}