diff --git a/code/client/cl_curl.c b/code/client/cl_curl.c index 901ef999..8f8f29bd 100644 --- a/code/client/cl_curl.c +++ b/code/client/cl_curl.c @@ -178,8 +178,13 @@ void CL_cURL_Cleanup(void) { if(clc.downloadCURLM) { if(clc.downloadCURL) { - qcurl_multi_remove_handle(clc.downloadCURLM, + CURLMcode result; + + result = qcurl_multi_remove_handle(clc.downloadCURLM, clc.downloadCURL); + if(result != CURLM_OK) { + Com_DPrintf("qcurl_multi_remove_handle failed: %s\n", curl_multi_strerror(result)); + } qcurl_easy_cleanup(clc.downloadCURL); } qcurl_multi_cleanup(clc.downloadCURLM);