1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

*** empty log message ***

This commit is contained in:
Yang Tse 2008-10-20 23:05:52 +00:00
parent 77e028d620
commit 6983ba3225

View File

@ -694,8 +694,6 @@ static void freednsentry(void *freethis)
struct Curl_dns_entry *p = (struct Curl_dns_entry *) freethis;
Curl_freeaddrinfo(p->addr);
memset(p, 0, sizeof(struct Curl_dns_entry));
free(p);
}
@ -746,7 +744,6 @@ void Curl_freeaddrinfo(Curl_addrinfo *ai)
free(ai->ai_addr);
if(ai->ai_canonname)
free(ai->ai_canonname);
memset(ai, 0, sizeof(Curl_addrinfo));
free(ai);
ai = next;
}