curl_free() is provided for users of the API to free returned data, there's no need to use it internally. Closes #7318