Skip to content

Commit

Permalink
Revert "ares_parse_aaaa_reply: fix memory leak"
Browse files Browse the repository at this point in the history
This reverts commit 50f25d8.
  • Loading branch information
bagder committed Nov 7, 2012
1 parent 50f25d8 commit 1e4f2d2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ares_parse_aaaa_reply.c
Expand Up @@ -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);
Expand Down

0 comments on commit 1e4f2d2

Please sign in to comment.