From 3a25b174aa5451311002247c31a7aa9a461b63b6 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 24 Oct 2018 16:49:04 +0200 Subject: deps: upgrade to c-ares v1.15.0 Our out-of-tree patch from 2b6bb9f588 ("deps: c-ares float, win ipv6 bad fec0 prefix") should no longer be necessary, c-ares now blacklists such addresses itself. PR-URL: https://github.com/nodejs/node/pull/23854 Reviewed-By: Refael Ackermann Reviewed-By: Colin Ihrig --- deps/cares/src/ares_destroy.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'deps/cares/src/ares_destroy.c') diff --git a/deps/cares/src/ares_destroy.c b/deps/cares/src/ares_destroy.c index 8aa42236ae..fed2009ab3 100644 --- a/deps/cares/src/ares_destroy.c +++ b/deps/cares/src/ares_destroy.c @@ -36,6 +36,8 @@ void ares_destroy_options(struct ares_options *options) ares_free(options->sortlist); if(options->lookups) ares_free(options->lookups); + if(options->resolvconf_path) + ares_free(options->resolvconf_path); } void ares_destroy(ares_channel channel) @@ -44,7 +46,7 @@ void ares_destroy(ares_channel channel) struct query *query; struct list_node* list_head; struct list_node* list_node; - + if (!channel) return; @@ -85,6 +87,9 @@ void ares_destroy(ares_channel channel) if (channel->lookups) ares_free(channel->lookups); + if (channel->resolvconf_path) + ares_free(channel->resolvconf_path); + ares_free(channel); } -- cgit v1.2.3