Use XML API free() for allocated strings