diff options
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); } |