Remove pointless call to curl_free
This commit is contained in:
parent
906fd15b4a
commit
9f1e91cc76
|
@ -116,7 +116,6 @@ CurlFacade::urlEncode(const String& url)
|
|||
char* resultCStr = curl_easy_escape(m_curl, url.c_str(), 0);
|
||||
|
||||
if (resultCStr == NULL) {
|
||||
curl_free(resultCStr);
|
||||
throw XArch("CURL escape failed.");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue