Revert "ares_parse_aaaa_reply: fix memory leak"

This reverts commit 50f25d8a4b.
This commit is contained in:
Daniel Stenberg 2012-11-07 22:54:50 +01:00
parent 50f25d8a4b
commit 1e4f2d28fc
1 changed files with 0 additions and 1 deletions

View File

@ -242,7 +242,6 @@ int ares_parse_aaaa_reply(const unsigned char *abuf, int alen,
hostent->h_addr_list[i] = (char *) &addrs[i];
hostent->h_addr_list[naddrs] = NULL;
*host = hostent;
free(addrs); /* since it isn't used anymore! */
return ARES_SUCCESS;
}
free(hostent);