mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-05 21:02:39 +08:00
Remove pointless call to curl_free
This commit is contained in:
committed by
Andrew Nelless
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.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user