This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Remove pointless call to curl_free

  • Loading branch information...
nlyan committed Oct 26, 2016
1 parent 906fd15 commit 9f1e91cc7688e9b0edbb55188f9f633add5cf804
Showing with 0 additions and 1 deletion.
  1. +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

Please sign in to comment.