Remove global cleanup in DownloadUtils

This commit is contained in:
Maschell 2023-01-20 19:10:58 +01:00
parent 1ae67f737d
commit 814e1bba2d
1 changed files with 0 additions and 1 deletions

View File

@ -147,7 +147,6 @@ int DownloadUtils::DownloadFileToBuffer(const std::string &url, std::string &out
if ((errorOut = curl_easy_perform(curl)) != CURLE_OK) {
errorTextOut = error;
curl_easy_cleanup(curl);
curl_global_cleanup();
return -1;
}
curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &responseCodeOut);