Commit 73fbd4c9 authored by Mark Andrews's avatar Mark Andrews

4293. [bug] Address memory leak on priming query creation failure.

                        [RT #41512]
parent fc7bce5f
4293. [bug] Address memory leak on priming query creation failure.
[RT #41512]
4292. [placeholder]
4291. [cleanup] Added a required include to dns/forward.h. [RT #41474]
......
......@@ -9054,6 +9054,7 @@ dns_resolver_prime(dns_resolver_t *res) {
&res->primefetch);
UNLOCK(&res->primelock);
if (result != ISC_R_SUCCESS) {
isc_mem_put(res->mctx, rdataset, sizeof(*rdataset));
LOCK(&res->lock);
INSIST(res->priming);
res->priming = ISC_FALSE;
......
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