#include "progress.h"
#include "memory.h"
#include "easy.h"
+#include "multi.h"
/* The last #include file should be: */
#include "memdebug.h"
/* clear out the usage of the shared DNS cache */
easy->easy_handle->hostcache = NULL;
+ Curl_easy_addmulti(easy->easy_handle, NULL); /* clear the association
+ to this multi handle */
/* make the previous node point to our next */
if(easy->prev)
nexteasy=easy->next;
/* clear out the usage of the shared DNS cache */
easy->easy_handle->hostcache = NULL;
- easy->easy_handle->multi = NULL;
+ Curl_easy_addmulti(easy->easy_handle, NULL); /* clear the association */
if (easy->msg)
free(easy->msg);