aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ares/ares_parse_aaaa_reply.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ares/ares_parse_aaaa_reply.c b/ares/ares_parse_aaaa_reply.c
index 656ffbfb0..95e0c3053 100644
--- a/ares/ares_parse_aaaa_reply.c
+++ b/ares/ares_parse_aaaa_reply.c
@@ -236,9 +236,6 @@ int ares_parse_aaaa_reply(const unsigned char *abuf, int alen,
free(aliases[i]);
free(aliases);
}
- for (i = 0; i < naliases; i++)
- free(aliases[i]);
- free(aliases);
free(addrs);
free(hostname);
return status;