summaryrefslogtreecommitdiff
path: root/lib/hostip.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-10-19 20:17:16 +0000
committerYang Tse <yangsita@gmail.com>2008-10-19 20:17:16 +0000
commit5779283a52a1369cccbe1a1d314e2ec8ac949e0f (patch)
treea3abefd48a641c96e3686bf05c9615adfc80f39e /lib/hostip.c
parent80d0dcc9a3124dcecc9d1f7296f2ac429bc7d704 (diff)
downloadcurl-5779283a52a1369cccbe1a1d314e2ec8ac949e0f.tar.gz
attempt to fix or allow further detection of an elusive icc SIGSEGV
Diffstat (limited to 'lib/hostip.c')
-rw-r--r--lib/hostip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index 05b40e323..3a5f642fb 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -695,6 +695,7 @@ static void freednsentry(void *freethis)
Curl_freeaddrinfo(p->addr);
+ memset(p, 0, sizeof(struct Curl_dns_entry));
free(p);
}