diff options
author | Steinar H. Gunderson <sesse@google.com> | 2007-11-16 09:36:00 +0000 |
---|---|---|
committer | Steinar H. Gunderson <sesse@google.com> | 2007-11-16 09:36:00 +0000 |
commit | ea3fe98867a52235e71763fa91900ca6c1e6ca3b (patch) | |
tree | 2637918ddbd7b2578eb73b43389fc2e112bac245 | |
parent | 4f05613fbbc6d90cfa20b0ee5e19e457b826c5c5 (diff) |
Fix a double free.
-rw-r--r-- | ares/ares_parse_aaaa_reply.c | 3 |
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; |