Updating a free to use appropriate xmlFree