--- curl-7.15.4-20060507/lib/multi.c	2006-04-26 23:00:50.000000000 -0300
+++ curl-7.15.4-20060507-patched/lib/multi.c	2006-05-08 23:49:25.000000000 -0300
@@ -316,6 +316,10 @@
   multistate(easy, CURLM_STATE_INIT);
 
   /* for multi interface connections, we share DNS cache automaticly */
+  if (easy->easy_handle->hostcache &&
+      easy->easy_handle->hostcache != multi->hostcache)
+    Curl_hash_destroy(easy->easy_handle->hostcache);
+
   easy->easy_handle->hostcache = multi->hostcache;
 
   /* We add this new entry first in the list. We make our 'next' point to the

