g_list_free(actions);
if(actions != NULL) { g_list_free(actions); }
pe_free_actions(GListPtr actions) {	while(actions != NULL) {		GListPtr list_item = actions;		action_t *action = (action_t *)list_item->data;		actions = actions->next;		pe_free_shallow(action->actions_before); /* action_warpper_t* */		pe_free_shallow(action->actions_after); /* action_warpper_t* */		action->actions_before = NULL;		action->actions_after  = NULL;		free_xml(action->args);		crm_free(action);	}	g_list_free(actions);}