else if (a_node->doc != NULL) 
else if (a_node->doc != NULL) 
free_xml(xmlNodePtr a_node){	FNIN();    if (a_node == NULL)		; // nothing to do    else if (a_node->doc != NULL)		xmlFreeDoc(a_node->doc);    else	{		/* make sure the node is unlinked first */		xmlUnlinkNode(a_node);		xmlDocPtr foo = xmlNewDoc("1.0");		xmlSetTreeDoc(a_node,foo);		CRM_DEBUG2("new doc %s ", dump_xml(xmlDocGetRootElement(foo)));		xmlFreeNode(a_node);		xmlFreeDoc(foo);	}		FNOUT();}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/1527bd277bea88314ec7c1fafa964969da82ef38/xmlutils.c/buggy/crm/common/xmlutils.c