xml.c: Use xmlFree() for memory allocated by libxml2