diff options
author | Yang Tse <yangsita@gmail.com> | 2008-10-19 20:17:16 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-10-19 20:17:16 +0000 |
commit | 5779283a52a1369cccbe1a1d314e2ec8ac949e0f (patch) | |
tree | a3abefd48a641c96e3686bf05c9615adfc80f39e /lib/hostip.c | |
parent | 80d0dcc9a3124dcecc9d1f7296f2ac429bc7d704 (diff) | |
download | curl-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.c | 1 |
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); } |