mirror of
https://github.com/curl/curl.git
synced 2026-06-02 01:34:37 +03:00
make sure the dns cache pointers in the easy handles are NULLed
This commit is contained in:
parent
35d04c5398
commit
2de0028349
1 changed files with 3 additions and 0 deletions
|
|
@ -383,6 +383,9 @@ CURLMcode curl_multi_cleanup(CURLM *multi_handle)
|
|||
easy = multi->easy.next;
|
||||
while(easy) {
|
||||
nexteasy=easy->next;
|
||||
/* clear out the usage of the shared DNS cache */
|
||||
easy->easy_handle->hostcache = NULL;
|
||||
|
||||
free(easy);
|
||||
easy = nexteasy;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue