Preserve errno on talloc_free