Commit 2de00283 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

make sure the dns cache pointers in the easy handles are NULLed

parent 35d04c53
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;
    }