Fixed disposing of resolver->references in destroy() function

parent e7b36924
Pipeline #34085 failed with stages
in 31 minutes and 44 seconds
......@@ -9974,7 +9974,7 @@ destroy(dns_resolver_t *res) {
unsigned int i;
alternate_t *a;
REQUIRE(atomic_load(&res->references) == 0);
isc_refcount_destroy(&res->references);
REQUIRE(!atomic_load_acquire(&res->priming));
REQUIRE(res->primefetch == NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment