crm_trace("Cleaning up parser"); 
dump_xml_formatted(xmlNodePtr an_xml_node) {	int len = 0;	xmlChar *buffer = NULL;	xmlDocPtr foo = NULL;	xmlNodePtr xml_node = copy_xml_node_recursive(an_xml_node);		if (xml_node == NULL) {		return NULL;			} else {	  // reset the doc pointer		crm_trace("Creating doc pointer for %s", xml_node->name);		foo = xmlNewDoc("1.0");		xmlDocSetRootElement(foo, xml_node);		xmlSetTreeDoc(xml_node, foo);	}	xmlInitParser();	xmlDocDumpFormatMemory(xml_node->doc, &buffer, &len,1);	xmlCleanupParser();		free_xml(xml_node);	return buffer;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/ab7851c2076f466790760ef1cd3ba64bc9b8489f/xml.c/buggy/crm/common/xml.c