Permalink
Browse files
Remove pointless call to curl_free
- Loading branch information...
Showing
with
0 additions
and
1 deletion.
-
+0
−1
src/lib/arch/unix/ArchInternetUnix.cpp
|
|
@@ -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.");
|
|
|
}
|
|
|
|
|
|
|
0 comments on commit
9f1e91c