Yes, but strndup() doesn't require a redundant strlen() call, and we just calculated that value.