Move xml_free_parser out of destructor.