Remove pointless call to curl_free

This commit is contained in:
Andrew Nelless
2016-10-26 19:50:18 +01:00
committed by Andrew Nelless
parent 906fd15b4a
commit 9f1e91cc76

View File

@@ -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.");
}