Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
73fbd4c9
Commit
73fbd4c9
authored
Jan 20, 2016
by
Mark Andrews
Browse files
4293. [bug] Address memory leak on priming query creation failure.
[RT #41512]
parent
fc7bce5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
73fbd4c9
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]
...
...
lib/dns/resolver.c
View file @
73fbd4c9
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment