]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: dev: Prevent a reference leak when using plugins
authorEvan Hunt <each@isc.org>
Tue, 25 Feb 2025 22:40:55 +0000 (22:40 +0000)
committerEvan Hunt <each@isc.org>
Tue, 25 Feb 2025 22:40:55 +0000 (22:40 +0000)
The `NS_QUERY_DONE_BEGIN` and `NS_QUERY_DONE_SEND` plugin hooks could cause a reference leak if they returned `NS_HOOK_RETURN` without cleaning up the query context properly.

Closes #2094

Merge branch '2094-plugin-reference-leak' into 'main'

See merge request isc-projects/bind9!9971


Trivial merge