+3419. [bug] Memory leak on validation cancel. [RT #31869]
+
3418. [func] New XML schema (version 3.0) for the statistics channel
adds query type statistics at the zone level, and
flattens the XML tree and uses compressed format to
}
UNLOCK(&validator->lock);
- /* Need to cancel fetch outside validator lock */
- if (fetch != NULL)
+ /* Need to cancel and destroy the fetch outside validator lock */
+ if (fetch != NULL) {
dns_resolver_cancelfetch(fetch);
+ dns_resolver_destroyfetch(&fetch);
+ }
}
static void